mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05: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
|
|
@ -4,7 +4,7 @@ PewterGym_Script:
|
|||
res 6, [hl]
|
||||
call nz, .LoadNames
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, PewterGymTrainerHeader0
|
||||
ld hl, PewterGymTrainerHeaders
|
||||
ld de, PewterGym_ScriptPointers
|
||||
ld a, [wPewterGymCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -86,6 +86,8 @@ PewterGym_TextPointers:
|
|||
dw PewterGymText5
|
||||
dw PewterGymText6
|
||||
|
||||
PewterGymTrainerHeaders:
|
||||
def_trainers 2
|
||||
PewterGymTrainerHeader0:
|
||||
trainer EVENT_BEAT_PEWTER_GYM_TRAINER_0, 5, PewterGymBattleText1, PewterGymEndBattleText1, PewterGymAfterBattleText1
|
||||
db -1 ; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue