summaryrefslogtreecommitdiff
path: root/scripts/BrunosRoom.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-14 15:45:36 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-14 15:53:25 -0400
commit5c0f33cb5350d3e11bd75cc04d943549667ecd4c (patch)
tree2d5927ab83072b0673793269eacd14e6b5fd5ad2 /scripts/BrunosRoom.asm
parentbe326c65652d5e87e353172a4471458822ffd3da (diff)
Use a 'trainer' macro for trainers in scripts/
Diffstat (limited to 'scripts/BrunosRoom.asm')
-rwxr-xr-xscripts/BrunosRoom.asm11
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/BrunosRoom.asm b/scripts/BrunosRoom.asm
index d7254c97..194bc201 100755
--- a/scripts/BrunosRoom.asm
+++ b/scripts/BrunosRoom.asm
@@ -118,15 +118,8 @@ BrunosRoom_TextPointers:
dw BrunoDontRunAwayText
BrunoTrainerHeader0:
- dbEventFlagBit EVENT_BEAT_BRUNOS_ROOM_TRAINER_0
- db ($0 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_BRUNOS_ROOM_TRAINER_0
- dw BrunoBeforeBattleText ; TextBeforeBattle
- dw BrunoAfterBattleText ; TextAfterBattle
- dw BrunoEndBattleText ; TextEndBattle
- dw BrunoEndBattleText ; TextEndBattle
-
- db $ff
+ trainer EVENT_BEAT_BRUNOS_ROOM_TRAINER_0, 0, BrunoBeforeBattleText, BrunoEndBattleText, BrunoAfterBattleText
+ db -1 ; end
BrunoText1:
text_asm