aboutsummaryrefslogtreecommitdiff
path: root/map.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-08-06 18:45:46 +0900
committerAstatin <astatin@redacted>2024-08-06 18:45:46 +0900
commita993a0f632dfddcd5bf55bd4219492a66f22d5d1 (patch)
tree778bc1a390e8c56ddede1467c047e5c8751f41ff /map.gbasm
parente20e0ce42d1c1fc65cea1a655d64f2c9b2efc17a (diff)
Bunny now change direction and F O L I A G E
Diffstat (limited to 'map.gbasm')
-rw-r--r--map.gbasm26
1 files changed, 26 insertions, 0 deletions
diff --git a/map.gbasm b/map.gbasm
new file mode 100644
index 0000000..1a145c5
--- /dev/null
+++ b/map.gbasm
@@ -0,0 +1,26 @@
+Load_Map:
+ LD DE, $9800
+ LD B, $40
+
+ Load_Map.loop:
+ LD A, E
+ AND $20
+ SRL A
+ SRL A
+ SRL A
+ SRL A
+ LD C, A
+ LD A, E
+ AND $01
+ OR C
+ OR $20
+
+ LD (DE), A
+
+ INC DE
+ DEC B
+ LD A, $00
+ CP B
+ JR NZ =Load_Map.loop
+
+ RET