Use more constants in the event scripting engine.

This commit is contained in:
yenatch 2015-05-18 02:16:11 -07:00
parent 82317a7a23
commit b47c4bc6fd

View File

@ -1465,9 +1465,9 @@ EarthquakeMovementEnd
Script_loadpikachudata: ; 0x973f0 Script_loadpikachudata: ; 0x973f0
; script command 0x5a ; script command 0x5a
ld a, $19 ld a, PIKACHU
ld [wd22e], a ld [wd22e], a
ld a, $5 ld a, 5
ld [CurPartyLevel], a ld [CurPartyLevel], a
ret ret
; 0x973fb ; 0x973fb
@ -2214,7 +2214,7 @@ Script_trainerclassname: ; 0x9772b
; id (SingleByteParam) ; id (SingleByteParam)
; memory (SingleByteParam) ; memory (SingleByteParam)
ld a, $7 ld a, TRAINER_NAME
ld [wcf61], a ld [wcf61], a
jr Unknown_9771c ; 0x97730 $ea jr Unknown_9771c ; 0x97730 $ea
; 0x97732 ; 0x97732