summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-05-18 02:16:11 -0700
committeryenatch <yenatch@gmail.com>2015-05-18 02:16:11 -0700
commitb47c4bc6fda7fbccb116c9c14f67415b6f389743 (patch)
tree1eeeec2372e263608f9920b37262de11c5241879 /engine/scripting.asm
parent82317a7a23e6bb51664f2a6d6db5e6ea43399de8 (diff)
Use more constants in the event scripting engine.
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r--engine/scripting.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm
index 3835f458d..744cba7be 100644
--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -1465,9 +1465,9 @@ EarthquakeMovementEnd
Script_loadpikachudata: ; 0x973f0
; script command 0x5a
- ld a, $19
+ ld a, PIKACHU
ld [wd22e], a
- ld a, $5
+ ld a, 5
ld [CurPartyLevel], a
ret
; 0x973fb
@@ -2214,7 +2214,7 @@ Script_trainerclassname: ; 0x9772b
; id (SingleByteParam)
; memory (SingleByteParam)
- ld a, $7
+ ld a, TRAINER_NAME
ld [wcf61], a
jr Unknown_9771c ; 0x97730 $ea
; 0x97732