From 7cef012335f0bb335833a3ea36fd02dfa31cfbea Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 22 Jan 2018 13:00:35 -0500 Subject: wUnlockedUnowns engine flag constants Use local labels for "End"ings --- engine/scripting.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/scripting.asm') diff --git a/engine/scripting.asm b/engine/scripting.asm index 84590f3c0..c847ed96d 100644 --- a/engine/scripting.asm +++ b/engine/scripting.asm @@ -1294,7 +1294,7 @@ Script_earthquake: ld hl, EarthquakeMovement ld de, wEarthquakeMovementDataBuffer - ld bc, EarthquakeMovementEnd - EarthquakeMovement + ld bc, EarthquakeMovement.End - EarthquakeMovement call CopyBytes call GetScriptByte ld [wEarthquakeMovementDataBuffer + 1], a @@ -1312,7 +1312,7 @@ EarthquakeMovement: step_shake 16 ; the 16 gets overwritten with the script byte step_sleep 16 ; the 16 gets overwritten with the lower 6 bits of the script byte step_end -EarthquakeMovementEnd +.End Script_loadpikachudata: -- cgit v1.2.3