summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-01-22 13:00:35 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-01-22 13:00:35 -0500
commit7cef012335f0bb335833a3ea36fd02dfa31cfbea (patch)
tree700e7161b90e2ca3c32598585b76828c1ad160db /engine/scripting.asm
parent6ecf18aa52b79131fbf0cce85c41d3cae617100a (diff)
wUnlockedUnowns engine flag constants
Use local labels for "End"ings
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r--engine/scripting.asm4
1 files changed, 2 insertions, 2 deletions
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: