Split up engine/events/misc_scripts_2.asm

New files are:
- engine/events/hidden_item.asm
- engine/events/repel.asm
This commit is contained in:
mid-kid 2020-02-11 13:46:05 +01:00
parent 0d81f1c470
commit a094c58f1e
3 changed files with 12 additions and 12 deletions

View File

@ -1,14 +1,3 @@
RepelWoreOffScript::
opentext
writetext .RepelWoreOffText
waitbutton
closetext
end
.RepelWoreOffText:
text_far _RepelWoreOffText
text_end
HiddenItemScript:: HiddenItemScript::
opentext opentext
readmem wHiddenItemID readmem wHiddenItemID

10
engine/events/repel.asm Normal file
View File

@ -0,0 +1,10 @@
RepelWoreOffScript::
opentext
writetext .RepelWoreOffText
waitbutton
closetext
end
.RepelWoreOffText:
text_far _RepelWoreOffText
text_end

View File

@ -61,7 +61,8 @@ INCLUDE "engine/pokemon/mon_menu.asm"
INCLUDE "engine/overworld/select_menu.asm" INCLUDE "engine/overworld/select_menu.asm"
INCLUDE "engine/events/elevator.asm" INCLUDE "engine/events/elevator.asm"
INCLUDE "engine/events/bug_contest/contest.asm" INCLUDE "engine/events/bug_contest/contest.asm"
INCLUDE "engine/events/misc_scripts_2.asm" INCLUDE "engine/events/repel.asm"
INCLUDE "engine/events/hidden_item.asm"
INCLUDE "engine/events/std_collision.asm" INCLUDE "engine/events/std_collision.asm"
INCLUDE "engine/events/bug_contest/judging.asm" INCLUDE "engine/events/bug_contest/judging.asm"
INCLUDE "engine/events/pokerus/apply_pokerus_tick.asm" INCLUDE "engine/events/pokerus/apply_pokerus_tick.asm"