mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318)
This commit is contained in:
parent
2954013da1
commit
506a14084e
71 changed files with 274 additions and 149 deletions
|
|
@ -1,7 +1,7 @@
|
|||
PokemonMansion2F_Script:
|
||||
call Mansion2Script_51fee
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, Mansion2TrainerHeader0
|
||||
ld hl, Mansion2TrainerHeaders
|
||||
ld de, PokemonMansion2F_ScriptPointers
|
||||
ld a, [wPokemonMansion2FCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -63,6 +63,8 @@ PokemonMansion2F_TextPointers:
|
|||
dw Mansion2Text4
|
||||
dw Mansion2Text5
|
||||
|
||||
Mansion2TrainerHeaders:
|
||||
def_trainers
|
||||
Mansion2TrainerHeader0:
|
||||
trainer EVENT_BEAT_MANSION_2_TRAINER_0, 0, Mansion2BattleText1, Mansion2EndBattleText1, Mansion2AfterBattleText1
|
||||
db -1 ; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue