From b47c4bc6fda7fbccb116c9c14f67415b6f389743 Mon Sep 17 00:00:00 2001 From: yenatch Date: Mon, 18 May 2015 02:16:11 -0700 Subject: [PATCH] Use more constants in the event scripting engine. --- engine/scripting.asm | 6 +++--- 1 file 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