summaryrefslogtreecommitdiff
path: root/scripts/gary.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-22 10:24:00 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-22 10:24:00 -0500
commitc34156c5fb333864c1ae85036ea587c9f615a65a (patch)
tree70a98bceda2ec783da896bf3eb4efd1b0861c2a3 /scripts/gary.asm
parenta6f04b434980f2176cb275a7c3ba50d5cbcd6ace (diff)
parentdcc7f3bc9f41f2d5e0f7448b4688c1058da0040b (diff)
Merge pull request #107 from YamaArashi/master
enumerate events
Diffstat (limited to 'scripts/gary.asm')
-rwxr-xr-xscripts/gary.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/gary.asm b/scripts/gary.asm
index d01161da..24a2d2de 100755
--- a/scripts/gary.asm
+++ b/scripts/gary.asm
@@ -94,8 +94,7 @@ GaryScript3: ; 75fbb (1d:5fbb)
cp $ff
jp z, GaryScript_75f29
call UpdateSprites
- ld hl, wd867
- set 1, [hl]
+ SetEvent EVENT_BEAT_CHAMPION_RIVAL
ld a, $f0
ld [wJoyIgnore], a
ld a, $1
@@ -249,8 +248,7 @@ GaryTextPointers: ; 760d6 (1d:60d6)
GaryText1: ; 760e0 (1d:60e0)
TX_ASM
- ld a, [wd867]
- bit 1, a
+ CheckEvent EVENT_BEAT_CHAMPION_RIVAL
ld hl, GaryText_760f4
jr z, .asm_17e9f
ld hl, GaryText_76103