Skip to content

Conversation

@FatherOfEgg
Copy link
Contributor

  • Cloned weapons now have their own WEAPON_KIND
  • Able to clone the same weapon multiple times

Changelog

clone_weapon now returns a struct.

pub static mut FIGHTER_MARTH_GENERATE_ARTICLE_FIREBALL: i32 = 0; // How many articles the fighter originally has

let info = clone_weapon("mario", *WEAPON_KIND_MARIO_FIREBALL, "marth", "fireball", false);

unsafe {
    WEAPON_KIND_MARTH_FIREBALL = info.kind;
    FIGHTER_MARTH_GENERATE_ARTICLE_FIREBALL += info.table_id;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant