From 9de54645c896cc57a79679aecd6174afc59762c8 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Tue, 3 Feb 2015 20:51:53 +0100 Subject: add constants for volatile statuses and more battle labels/commentary/constants --- engine/battle/14.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/battle/14.asm') diff --git a/engine/battle/14.asm b/engine/battle/14.asm index 18aaa5e1..cabaae07 100755 --- a/engine/battle/14.asm +++ b/engine/battle/14.asm @@ -13,7 +13,7 @@ Func_525af: ; 525af (14:65af) ld [wCriticalHitOrOHKO], a ld [wBattleMonSpecies], a ld [wPartyGainExpFlags], a - ld [wPlayerMonNumber], a ; wPlayerMonNumber + ld [wPlayerMonNumber], a ld [wEscapedFromBattle], a ld [wMapPalOffset], a ld hl, wcf1d @@ -27,7 +27,7 @@ Func_525af: ; 525af (14:65af) jr nz, .asm_525e1 inc a ld [wccd9], a - ld a, [W_CURMAP] ; W_CURMAP + ld a, [W_CURMAP] cp SAFARI_ZONE_EAST jr c, .asm_525f9 cp SAFARI_ZONE_REST_HOUSE_1 @@ -45,7 +45,7 @@ ParalyzeEffect_: ; 52601 (14:6601) ld a, [H_WHOSETURN] ; $fff3 and a jp z, .asm_52613 - ld hl, wBattleMonStatus ; wBattleMonStatus + ld hl, wBattleMonStatus ld de, W_ENEMYMOVETYPE ; wcfcf .asm_52613 @@ -69,10 +69,10 @@ ParalyzeEffect_: ; 52601 (14:6601) push hl callab MoveHitTest pop hl - ld a, [W_MOVEMISSED] ; W_MOVEMISSED + ld a, [W_MOVEMISSED] and a jr nz, .asm_52659 - set 6, [hl] + set PAR, [hl] callab QuarterSpeedDueToParalysis ld c, $1e call DelayFrames -- cgit v1.3.1-sl0p