summaryrefslogtreecommitdiff
path: root/engine/overworld/clear_loadmapdata_vars.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/clear_loadmapdata_vars.asm')
-rw-r--r--engine/overworld/clear_loadmapdata_vars.asm20
1 files changed, 0 insertions, 20 deletions
diff --git a/engine/overworld/clear_loadmapdata_vars.asm b/engine/overworld/clear_loadmapdata_vars.asm
deleted file mode 100644
index c5dc21fa..00000000
--- a/engine/overworld/clear_loadmapdata_vars.asm
+++ /dev/null
@@ -1,20 +0,0 @@
-ClearVariablesAfterLoadingMapData:
- ld a, $90
- ld [hWY], a
- ld [rWY], a
- xor a
- ld [H_AUTOBGTRANSFERENABLED], a
- ld [wStepCounter], a
- ld [wLoneAttackNo], a ; wGymLeaderNo
- ld [hJoyPressed], a
- ld [hJoyReleased], a
- ld [hJoyHeld], a
- ld [wActionResultOrTookBattleTurn], a
- ld [wUnusedD5A3], a
- ld hl, wCardKeyDoorY
- ld [hli], a
- ld [hl], a
- ld hl, wUnusedCD3D
- ld bc, wStandingOnWarpPadOrHole - wUnusedCD3D
- call FillMemory
- ret