summaryrefslogtreecommitdiff
path: root/scripts/UnusedMap13.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-21 11:58:10 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-21 12:15:06 -0400
commit9f2ef498fb319ab6a0b343f8165af49ad33b5c78 (patch)
tree35eee5afd82436a5b5969e1c22c1f49f87926189 /scripts/UnusedMap13.asm
parentf2118b1715e8ef29d6967e0a9ab24cb8cd1a8aa4 (diff)
Copy pokered map organization (maps/*.blk, scripts/*.asm, data/maps/objects/*.asm)
Diffstat (limited to 'scripts/UnusedMap13.asm')
-rw-r--r--scripts/UnusedMap13.asm28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/UnusedMap13.asm b/scripts/UnusedMap13.asm
new file mode 100644
index 0000000..b96574e
--- /dev/null
+++ b/scripts/UnusedMap13.asm
@@ -0,0 +1,28 @@
+include "constants.asm"
+
+SECTION "scripts/UnusedMap13.asm", ROMX
+
+UnusedMap13ScriptLoader::
+ ld hl, UnusedMap13ScriptPointers
+ call RunMapScript
+ call WriteBackMapScriptNumber
+ ret
+
+UnusedMap13ScriptPointers:
+ dw UnusedMap13Script
+ dw UnusedMap13NPCIDs
+
+UnusedMap13NPCIDs:
+ db $FF
+
+UnusedMap13SignPointers:
+ dw MapDefaultText
+
+UnusedMap13TextPointers::
+ dw MapDefaultText
+
+UnusedMap13Script:
+ ld hl, UnusedMap13NPCIDs
+ ld de, UnusedMap13SignPointers
+ call CallMapTextSubroutine
+ ret