mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-08 00:25:28 +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
|
|
@ -4,7 +4,7 @@ CeruleanGym_Script:
|
|||
res 6, [hl]
|
||||
call nz, .LoadNames
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, CeruleanGymTrainerHeader0
|
||||
ld hl, CeruleanGymTrainerHeaders
|
||||
ld de, CeruleanGym_ScriptPointers
|
||||
ld a, [wCeruleanGymCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -79,6 +79,8 @@ CeruleanGym_TextPointers:
|
|||
dw CeruleanGymText6
|
||||
dw CeruleanGymText7
|
||||
|
||||
CeruleanGymTrainerHeaders:
|
||||
def_trainers 2
|
||||
CeruleanGymTrainerHeader0:
|
||||
trainer EVENT_BEAT_CERULEAN_GYM_TRAINER_0, 3, CeruleanGymBattleText1, CeruleanGymEndBattleText1, CeruleanGymAfterBattleText1
|
||||
CeruleanGymTrainerHeader1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue