aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-16 17:00:57 -0400
committerGitHub <noreply@github.com>2020-07-16 17:00:57 -0400
commitd44c7c305c3f94b59e3e2c008408779836a0020a (patch)
tree2cdc51be4a22992701038b959d6c964e9ee8fc58 /engine/events
parentMerge pull request #276 from TheFakeMateo/master (diff)
parentDefine constants for audio commands (diff)
downloadpokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.tar.gz
pokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.tar.xz
pokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.zip
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/hidden_objects/pokecenter_pc.asm2
-rwxr-xr-xengine/events/oaks_aide.asm8
2 files changed, 5 insertions, 5 deletions
diff --git a/engine/events/hidden_objects/pokecenter_pc.asm b/engine/events/hidden_objects/pokecenter_pc.asm
index 9ae7d41c..f20f40ed 100644
--- a/engine/events/hidden_objects/pokecenter_pc.asm
+++ b/engine/events/hidden_objects/pokecenter_pc.asm
@@ -3,7 +3,7 @@ OpenPokemonCenterPC:
cp SPRITE_FACING_UP
ret nz
call EnableAutoTextBoxDrawing
- ld a, $1
+ ld a, TRUE
ld [wAutoTextBoxDrawingControl], a
tx_pre_jump PokemonCenterPCText
diff --git a/engine/events/oaks_aide.asm b/engine/events/oaks_aide.asm
index dd4e5fd7..f1801f5c 100755
--- a/engine/events/oaks_aide.asm
+++ b/engine/events/oaks_aide.asm
@@ -25,22 +25,22 @@ OaksAideScript:
jr nc, .bagFull
ld hl, OaksAideGotItemText
call PrintText
- ld a, $1
+ ld a, OAKS_AIDE_GOT_ITEM
jr .done
.bagFull
ld hl, OaksAideNoRoomText
call PrintText
- xor a
+ xor a ; OAKS_AIDE_BAG_FULL
jr .done
.notEnoughOwnedMons
ld hl, OaksAideUhOhText
call PrintText
- ld a, $80
+ ld a, OAKS_AIDE_NOT_ENOUGH_MONS
jr .done
.choseNo
ld hl, OaksAideComeBackText
call PrintText
- ld a, $ff
+ ld a, OAKS_AIDE_REFUSED
.done
ldh [hOaksAideResult], a
ret