summaryrefslogtreecommitdiff
path: root/scripts/pewtergym.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-20 19:41:23 -0700
committerYamaArashi <shadow962@live.com>2015-07-20 19:41:23 -0700
commitfd2b4b6c74e324f423cd3a5aac0428eae12b7620 (patch)
tree3ab359d55a9327c4649bcc96e9fd42c5994fe088 /scripts/pewtergym.asm
parentfcab935a0f449246380480613ac0896e0b90a0d8 (diff)
gym leader events
Diffstat (limited to 'scripts/pewtergym.asm')
-rwxr-xr-xscripts/pewtergym.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/pewtergym.asm b/scripts/pewtergym.asm
index e2798b24..03a1c218 100755
--- a/scripts/pewtergym.asm
+++ b/scripts/pewtergym.asm
@@ -46,14 +46,14 @@ PewterGymScript_5c3df: ; 5c3df (17:43df)
ld a, $4
ld [hSpriteIndexOrTextID], a
call DisplayTextID
- SetEvent EVENT_077
+ SetEvent EVENT_BEAT_BROCK
ld bc, (TM_34 << 8) | 1
call GiveItem
jr nc, .BagFull
ld a, $5
ld [hSpriteIndexOrTextID], a
call DisplayTextID
- SetEvent EVENT_076
+ SetEvent EVENT_GOT_TM34
jr .asm_5c408
.BagFull
ld a, $6
@@ -101,9 +101,9 @@ PewterGymTrainerHeader0: ; 5c441 (17:4441)
PewterGymText1: ; 5c44e (17:444e)
TX_ASM
- CheckEvent EVENT_077
+ CheckEvent EVENT_BEAT_BROCK
jr z, .asm_5c46a
- CheckEventReuseA EVENT_076
+ CheckEventReuseA EVENT_GOT_TM34
jr nz, .asm_5c462
call z, PewterGymScript_5c3df
call DisableWaitingAfterTextDisplay