diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-12-21 11:59:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 11:59:37 -0600 |
commit | 85a8e5f1ded5a0a2354916617dd0b82091a42ee0 (patch) | |
tree | 9d04e3c1d115d496af910f2a1714e6e3fe82d77b /src/field/use_pokeblock.c | |
parent | 871ae4c283ec8bc7730df52790b5ca53baa82230 (diff) | |
parent | 19895d28322609e6f67797bfec9851e0cb5a2182 (diff) |
Merge pull request #497 from huderlem/script_commands
Port event script names from pokeemerald
Diffstat (limited to 'src/field/use_pokeblock.c')
-rw-r--r-- | src/field/use_pokeblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field/use_pokeblock.c b/src/field/use_pokeblock.c index 8155b4216..7253ac901 100644 --- a/src/field/use_pokeblock.c +++ b/src/field/use_pokeblock.c @@ -105,7 +105,7 @@ EWRAM_DATA u8 gPokeblockMonID = 0; EWRAM_DATA s16 gPokeblockGain = 0; extern u16 gKeyRepeatStartDelay; -extern u16 gScriptItemId; // FIXME: remove after merge of #349 Pokeblock +extern u16 gSpecialVar_ItemId; // FIXME: remove after merge of #349 Pokeblock static void launch_c3_walk_stairs_and_run_once(void (*const)(void)); static void sub_81361E4(void); @@ -574,7 +574,7 @@ static void sub_81369CC(void) case 5: if (gMain.newKeys & (A_BUTTON | B_BUTTON) && !sub_8136D00()) { - PokeblockClearIfExists((u8)gScriptItemId); + PokeblockClearIfExists((u8)gSpecialVar_ItemId); launch_c3_walk_stairs_and_run_once(sub_8136B44); } break; |