summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-11 15:40:09 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-11 15:40:09 -0400
commit187e30cac8993683908a1a3e8e5cc586a77d9c1b (patch)
treef401415fb0316478ab867a1074d313a5938d6701 /engine/battle/core.asm
parent48e209763f1c984ddf7c4f3760210c14bfe5c991 (diff)
Replace more hex values with constants or decimal
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index c3c7e9867..c467ac495 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -6992,7 +6992,7 @@ GiveExperiencePoints:
ld a, [wCurPartyMon]
ld c, a
ld b, CHECK_FLAG
- ld d, $0
+ ld d, FALSE
predef SmallFarFlagAction
ld a, c
and a
@@ -7006,7 +7006,7 @@ GiveExperiencePoints:
ld e, l
ld hl, wEnemyMonBaseStats - 1
push bc
- ld c, $5
+ ld c, NUM_EXP_STATS
.loop1
inc hl
ld a, [de]
@@ -7286,13 +7286,13 @@ GiveExperiencePoints:
ld [wMonType], a
predef CopyMonToTempMon
hlcoord 9, 0
- ld b, $a
- ld c, $9
+ ld b, 10
+ ld c, 9
call TextBox
hlcoord 11, 1
ld bc, 4
predef PrintTempMonStats
- ld c, $1e
+ ld c, 30
call DelayFrames
call WaitPressAorB_BlinkCursor
call Call_LoadTempTileMapToTileMap