summaryrefslogtreecommitdiff
path: root/scripts/saffronhouse2.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/saffronhouse2.asm
parenta6f04b434980f2176cb275a7c3ba50d5cbcd6ace (diff)
parentdcc7f3bc9f41f2d5e0f7448b4688c1058da0040b (diff)
Merge pull request #107 from YamaArashi/master
enumerate events
Diffstat (limited to 'scripts/saffronhouse2.asm')
-rwxr-xr-xscripts/saffronhouse2.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/saffronhouse2.asm b/scripts/saffronhouse2.asm
index b7d8ed26..f3ec4c99 100755
--- a/scripts/saffronhouse2.asm
+++ b/scripts/saffronhouse2.asm
@@ -6,8 +6,7 @@ SaffronHouse2TextPointers: ; 1de3f (7:5e3f)
SaffronHouse2Text1: ; 1de41 (7:5e41)
TX_ASM
- ld a, [wd7bd]
- bit 0, a
+ CheckEvent EVENT_GOT_TM29
jr nz, .asm_9e72b
ld hl, TM29PreReceiveText
call PrintText
@@ -16,8 +15,7 @@ SaffronHouse2Text1: ; 1de41 (7:5e41)
jr nc, .BagFull
ld hl, ReceivedTM29Text
call PrintText
- ld hl, wd7bd
- set 0, [hl]
+ SetEvent EVENT_GOT_TM29
jr .asm_fe4e1
.BagFull
ld hl, TM29NoRoomText