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 @@
|
|||
FuchsiaGym_Script:
|
||||
call .LoadNames
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, FuchsiaGymTrainerHeader0
|
||||
ld hl, FuchsiaGymTrainerHeaders
|
||||
ld de, FuchsiaGym_ScriptPointers
|
||||
ld a, [wFuchsiaGymCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -84,6 +84,8 @@ FuchsiaGym_TextPointers:
|
|||
dw FuchsiaGymText10
|
||||
dw FuchsiaGymText11
|
||||
|
||||
FuchsiaGymTrainerHeaders:
|
||||
def_trainers 2
|
||||
FuchsiaGymTrainerHeader0:
|
||||
trainer EVENT_BEAT_FUCHSIA_GYM_TRAINER_0, 2, FuchsiaGymBattleText1, FuchsiaGymEndBattleText1, FuchsiaGymAfterBattleText1
|
||||
FuchsiaGymTrainerHeader1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue