aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie/oak_speech/init_player_data.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:10:29 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:10:29 -0400
commit45ed05decf330faab4503fe8fecadc54698c9724 (patch)
treeadd3eeda2d09334209abe4e55341b674e64dd117 /engine/movie/oak_speech/init_player_data.asm
parentPSYCHIC -> PSYCHIC_TYPE (PSYCHIC is ambiguous with PSYCHIC_M) (diff)
downloadpokeyellow-45ed05decf330faab4503fe8fecadc54698c9724.tar.gz
pokeyellow-45ed05decf330faab4503fe8fecadc54698c9724.tar.xz
pokeyellow-45ed05decf330faab4503fe8fecadc54698c9724.zip
Use HIGH() and LOW()
Diffstat (limited to 'engine/movie/oak_speech/init_player_data.asm')
-rw-r--r--engine/movie/oak_speech/init_player_data.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/movie/oak_speech/init_player_data.asm b/engine/movie/oak_speech/init_player_data.asm
index bd181bbd..53ca24f3 100644
--- a/engine/movie/oak_speech/init_player_data.asm
+++ b/engine/movie/oak_speech/init_player_data.asm
@@ -23,9 +23,9 @@ InitPlayerData2:
START_MONEY EQU $3000
ld hl, wPlayerMoney + 1
- ld a, START_MONEY / $100
+ ld a, HIGH(START_MONEY)
ld [hld], a
- xor a
+ xor a ; LOW(START_MONEY)
ld [hli], a
inc hl
ld [hl], a