aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events')
-rw-r--r--engine/events/diploma.asm2
-rw-r--r--engine/events/evolve_trade.asm6
-rw-r--r--engine/events/give_pokemon.asm8
-rw-r--r--engine/events/pokedex_rating.asm2
4 files changed, 9 insertions, 9 deletions
diff --git a/engine/events/diploma.asm b/engine/events/diploma.asm
index 900e3782..b4ccbb07 100644
--- a/engine/events/diploma.asm
+++ b/engine/events/diploma.asm
@@ -79,7 +79,7 @@ UnusedPlayerNameLengthFunc:
lb bc, $ff, $00
.loop
ld a, [hli]
- cp "@"
+ cp '@'
ret z
dec c
jr .loop
diff --git a/engine/events/evolve_trade.asm b/engine/events/evolve_trade.asm
index 8ec7ad5c..7dfc2433 100644
--- a/engine/events/evolve_trade.asm
+++ b/engine/events/evolve_trade.asm
@@ -6,13 +6,13 @@ InGameTrade_CheckForTradeEvo:
; Graveler's English name and Haunter's early English name "Spectre".
; The final release replaced Graveler and Haunter in TradeMons.
ld a, [wInGameTradeReceiveMonName]
- cp "G" ; GRAVELER
+ cp 'G' ; GRAVELER
jr z, .nameMatched
; "SPECTRE" (HAUNTER)
- cp "S"
+ cp 'S'
ret nz
ld a, [wInGameTradeReceiveMonName + 1]
- cp "P"
+ cp 'P'
ret nz
.nameMatched
ld a, [wPartyCount]
diff --git a/engine/events/give_pokemon.asm b/engine/events/give_pokemon.asm
index 640a3dba..b25ef048 100644
--- a/engine/events/give_pokemon.asm
+++ b/engine/events/give_pokemon.asm
@@ -24,15 +24,15 @@ _GivePokemon::
cp 9
jr c, .singleDigitBoxNum
sub 9
- ld [hl], "1"
+ ld [hl], '1'
inc hl
- add "0"
+ add '0'
jr .next
.singleDigitBoxNum
- add "1"
+ add '1'
.next
ld [hli], a
- ld [hl], "@"
+ ld [hl], '@'
ld hl, SentToBoxText
call PrintText
scf
diff --git a/engine/events/pokedex_rating.asm b/engine/events/pokedex_rating.asm
index 1086257a..510b11a3 100644
--- a/engine/events/pokedex_rating.asm
+++ b/engine/events/pokedex_rating.asm
@@ -42,7 +42,7 @@ DisplayDexRating:
inc de
.copyRatingTextLoop
ld a, [hli]
- cp "@"
+ cp '@'
jr z, .doneCopying
ld [de], a
inc de