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
|
|
@ -1,6 +1,6 @@
|
|||
Route4_Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, Route4TrainerHeader0
|
||||
ld hl, Route4TrainerHeaders
|
||||
ld de, Route4_ScriptPointers
|
||||
ld a, [wRoute4CurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -20,6 +20,8 @@ Route4_TextPointers:
|
|||
dw Route4Text5
|
||||
dw Route4Text6
|
||||
|
||||
Route4TrainerHeaders:
|
||||
def_trainers 2
|
||||
Route4TrainerHeader0:
|
||||
trainer EVENT_BEAT_ROUTE_4_TRAINER_0, 3, Route4BattleText1, Route4EndBattleText1, Route4AfterBattleText1
|
||||
db -1 ; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue