summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-01-18 15:38:31 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-01-18 15:38:31 -0600
commit6445394929d07997eb43f476e0c47bbb2e27e34e (patch)
tree4d1a62e4f9a55332b52cc4ad8b071f5b1d2cb9bf
parentb7ee548897b0c71fcdc44a0bdee406ceeb15f5ab (diff)
Extract rotating_gate.s
-rw-r--r--data/rotating_gate.s270
-rw-r--r--graphics/misc/rotating_gate_1.pngbin0 -> 119 bytes
-rw-r--r--graphics/misc/rotating_gate_2.pngbin0 -> 136 bytes
-rw-r--r--graphics/misc/rotating_gate_3.pngbin0 -> 136 bytes
-rw-r--r--graphics/misc/rotating_gate_4.pngbin0 -> 136 bytes
-rw-r--r--graphics/misc/rotating_gate_5.pngbin0 -> 122 bytes
-rw-r--r--graphics/misc/rotating_gate_6.pngbin0 -> 144 bytes
-rw-r--r--graphics/misc/rotating_gate_7.pngbin0 -> 144 bytes
-rw-r--r--graphics/misc/rotating_gate_8.pngbin0 -> 142 bytes
9 files changed, 257 insertions, 13 deletions
diff --git a/data/rotating_gate.s b/data/rotating_gate.s
index 90568caa5..595cc9917 100644
--- a/data/rotating_gate.s
+++ b/data/rotating_gate.s
@@ -2,40 +2,284 @@
.include "constants/constants.inc"
.section .rodata
- .align 2, 0
+ .align 2
gUnknown_0858E8B0:: @ 858E8B0
- .incbin "baserom.gba", 0x58e8b0, 0x40
+ .2byte 0x0006, 0x0007
+ .byte 0x05, 0x01
+ .align 2
+ .2byte 0x0009, 0x000f
+ .byte 0x05, 0x02
+
+ .align 2
+ .2byte 0x0003, 0x0013
+ .byte 0x05, 0x01
+
+ .align 2
+ .2byte 0x0002, 0x0006
+ .byte 0x04, 0x01
+
+ .align 2
+ .2byte 0x0009, 0x000c
+ .byte 0x04, 0x00
+
+ .align 2
+ .2byte 0x0006, 0x0017
+ .byte 0x04, 0x00
+
+ .align 2
+ .2byte 0x000c, 0x0016
+ .byte 0x04, 0x00
+
+ .align 2
+ .2byte 0x0006, 0x0003
+ .byte 0x03, 0x02
+
+ .align 2
gUnknown_0858E8F0:: @ 858E8F0
- .incbin "baserom.gba", 0x58e8f0, 0x3468
+ .2byte 0x000e, 0x0005
+ .byte 0x04, 0x01
+
+ .align 2
+ .2byte 0x000a, 0x0006
+ .byte 0x01, 0x02
+
+ .align 2
+ .2byte 0x0006, 0x0006
+ .byte 0x03, 0x01
+
+ .align 2
+ .2byte 0x000e, 0x0008
+ .byte 0x04, 0x01
+
+ .align 2
+ .2byte 0x0003, 0x000a
+ .byte 0x02, 0x03
+
+ .align 2
+ .2byte 0x0009, 0x000e
+ .byte 0x00, 0x01
+
+ .align 2
+ .2byte 0x0003, 0x000f
+ .byte 0x06, 0x00
+
+ .align 2
+ .2byte 0x0002, 0x0011
+ .byte 0x01, 0x02
+
+ .align 2
+ .2byte 0x000c, 0x0012
+ .byte 0x06, 0x03
+
+ .align 2
+ .2byte 0x0005, 0x0012
+ .byte 0x03, 0x01
+
+ .align 2
+ .2byte 0x000a, 0x0013
+ .byte 0x02, 0x02
+
+ .align 2
+gUnknown_0858E948:: @ 858E948
+ .incbin "graphics/misc/rotating_gate_1.4bpp"
+
+ .align 2
+gUnknown_0858EB48:: @ 858EB48
+ .incbin "graphics/misc/rotating_gate_2.4bpp"
+
+ .align 2
+gUnknown_0858F348:: @ 858F348
+ .incbin "graphics/misc/rotating_gate_3.4bpp"
+
+ .align 2
+gUnknown_0858FB48:: @ 858FB48
+ .incbin "graphics/misc/rotating_gate_4.4bpp"
+
+ .align 2
+gUnknown_08590348:: @ 8590348
+ .incbin "graphics/misc/rotating_gate_5.4bpp"
+
+ .align 2
+gUnknown_08590548:: @ 8590548
+ .incbin "graphics/misc/rotating_gate_6.4bpp"
+
+ .align 2
+gUnknown_08590D48:: @ 8590D48
+ .incbin "graphics/misc/rotating_gate_7.4bpp"
+
+ .align 2
+gUnknown_08591548:: @ 8591548
+ .incbin "graphics/misc/rotating_gate_8.4bpp"
+
+ .align 2
+gOamData_8591D48:: @ 8591D48
+ .2byte 0x0100, 0xc000, 0x2800
+
+ .align 2
+gOamData_8591D50:: @ 8591D50
+ .2byte 0x0100, 0x8000, 0x2800
+ .align 2
gUnknown_08591D58:: @ 8591D58
- .incbin "baserom.gba", 0x591d58, 0x270
+ obj_tiles gUnknown_0858E948, 0x0200, 0x1300
+ obj_tiles gUnknown_0858EB48, 0x0800, 0x1301
+ obj_tiles gUnknown_0858F348, 0x0800, 0x1302
+ obj_tiles gUnknown_0858FB48, 0x0800, 0x1303
+ obj_tiles gUnknown_08590348, 0x0200, 0x1304
+ obj_tiles gUnknown_08590548, 0x0800, 0x1305
+ obj_tiles gUnknown_08590D48, 0x0800, 0x1306
+ obj_tiles gUnknown_08591548, 0x0800, 0x1307
+ null_obj_tiles
+ .align 2
+gSpriteAnim_8591DA0:: @ 8591DA0
+ .2byte 0x0000, 0x0000, 0xffff, 0x0000
+
+ .align 2
+gSpriteAnim_8591DA8:: @ 8591DA8
+ .2byte 0x0000, 0x0000, 0xffff, 0x0000
+
+ .align 2
+gSpriteAnimTable_8591DB0:: @ 8591DB0
+ .4byte gSpriteAnim_8591DA0
+
+ .align 2
+gSpriteAnimTable_8591DB4:: @ 8591DB4
+ .4byte gSpriteAnim_8591DA8
+
+ .align 2
+gSpriteAffineAnim_8591DB8:: @ 8591DB8
+ .2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x7ffe, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591DC8:: @ 8591DC8
+ .2byte 0x0100, 0x0100, 0x00c0, 0x0000, 0x7ffe, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591DD8:: @ 8591DD8
+ .2byte 0x0100, 0x0100, 0x0080, 0x0000, 0x7ffe, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591DE8:: @ 8591DE8
+ .2byte 0x0100, 0x0100, 0x0040, 0x0000, 0x7ffe, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591DF8:: @ 8591DF8
+ .2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x10fc, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591E10:: @ 8591E10
+ .2byte 0x0100, 0x0100, 0x00c0, 0x0000, 0x0000, 0x0000, 0x10fc, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591E28:: @ 8591E28
+ .2byte 0x0100, 0x0100, 0x0080, 0x0000, 0x0000, 0x0000, 0x10fc, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591E40:: @ 8591E40
+ .2byte 0x0100, 0x0100, 0x0040, 0x0000, 0x0000, 0x0000, 0x10fc, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591E58:: @ 8591E58
+ .2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x1004, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591E70:: @ 8591E70
+ .2byte 0x0100, 0x0100, 0x0040, 0x0000, 0x0000, 0x0000, 0x1004, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591E88:: @ 8591E88
+ .2byte 0x0100, 0x0100, 0x0080, 0x0000, 0x0000, 0x0000, 0x1004, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591EA0:: @ 8591EA0
+ .2byte 0x0100, 0x0100, 0x00c0, 0x0000, 0x0000, 0x0000, 0x1004, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591EB8:: @ 8591EB8
+ .2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x08f8, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591ED0:: @ 8591ED0
+ .2byte 0x0100, 0x0100, 0x00c0, 0x0000, 0x0000, 0x0000, 0x08f8, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591EE8:: @ 8591EE8
+ .2byte 0x0100, 0x0100, 0x0080, 0x0000, 0x0000, 0x0000, 0x08f8, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591F00:: @ 8591F00
+ .2byte 0x0100, 0x0100, 0x0040, 0x0000, 0x0000, 0x0000, 0x08f8, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591F18:: @ 8591F18
+ .2byte 0x0100, 0x0100, 0x0000, 0x0000, 0x0000, 0x0000, 0x0808, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591F30:: @ 8591F30
+ .2byte 0x0100, 0x0100, 0x0040, 0x0000, 0x0000, 0x0000, 0x0808, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591F48:: @ 8591F48
+ .2byte 0x0100, 0x0100, 0x0080, 0x0000, 0x0000, 0x0000, 0x0808, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnim_8591F60:: @ 8591F60
+ .2byte 0x0100, 0x0100, 0x00c0, 0x0000, 0x0000, 0x0000, 0x0808, 0x0000, 0x7fff, 0x0000, 0x0000, 0x0000
+
+ .align 2
+gSpriteAffineAnimTable_8591F78:: @ 8591F78
+ .4byte gSpriteAffineAnim_8591DB8
+ .4byte gSpriteAffineAnim_8591DC8
+ .4byte gSpriteAffineAnim_8591DD8
+ .4byte gSpriteAffineAnim_8591DE8
+ .4byte gSpriteAffineAnim_8591E58
+ .4byte gSpriteAffineAnim_8591EA0
+ .4byte gSpriteAffineAnim_8591E88
+ .4byte gSpriteAffineAnim_8591E70
+ .4byte gSpriteAffineAnim_8591DF8
+ .4byte gSpriteAffineAnim_8591E10
+ .4byte gSpriteAffineAnim_8591E28
+ .4byte gSpriteAffineAnim_8591E40
+ .4byte gSpriteAffineAnim_8591F18
+ .4byte gSpriteAffineAnim_8591F60
+ .4byte gSpriteAffineAnim_8591F48
+ .4byte gSpriteAffineAnim_8591F30
+ .4byte gSpriteAffineAnim_8591EB8
+ .4byte gSpriteAffineAnim_8591ED0
+ .4byte gSpriteAffineAnim_8591EE8
+ .4byte gSpriteAffineAnim_8591F00
+
+ .align 2
gUnknown_08591FC8:: @ 8591FC8
- .incbin "baserom.gba", 0x591fc8, 0x18
+ spr_template 0x1300, 0xffff, gOamData_8591D48, gSpriteAnimTable_8591DB0, NULL, gSpriteAffineAnimTable_8591F78, sub_80FBAE4
+ .align 2
gUnknown_08591FE0:: @ 8591FE0
- .incbin "baserom.gba", 0x591fe0, 0x18
+ spr_template 0x1300, 0xffff, gOamData_8591D50, gSpriteAnimTable_8591DB4, NULL, gSpriteAffineAnimTable_8591F78, sub_80FBAE4
gUnknown_08591FF8:: @ 8591FF8
- .incbin "baserom.gba", 0x591ff8, 0x10
+ .byte 0xff, 0xff, 0xff, 0xff, 0x27, 0x26, 0x12, 0x13, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
gUnknown_08592008:: @ 8592008
- .incbin "baserom.gba", 0x592008, 0x10
+ .byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x17, 0x16, 0x22, 0x23, 0xff, 0xff, 0xff, 0xff
gUnknown_08592018:: @ 8592018
- .incbin "baserom.gba", 0x592018, 0x10
+ .byte 0xff, 0x11, 0xff, 0xff, 0xff, 0x10, 0xff, 0xff, 0xff, 0x24, 0xff, 0xff, 0xff, 0x25, 0xff, 0xff
gUnknown_08592028:: @ 8592028
- .incbin "baserom.gba", 0x592028, 0x10
+ .byte 0xff, 0xff, 0x21, 0xff, 0xff, 0xff, 0x20, 0xff, 0xff, 0xff, 0x14, 0xff, 0xff, 0xff, 0x15, 0xff
gUnknown_08592038:: @ 8592038
- .incbin "baserom.gba", 0x592038, 0x20
+ .byte 0x00, 0xff, 0x00, 0x00, 0x01, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xfe, 0xff, 0x00, 0x00
gUnknown_08592058:: @ 8592058
- .incbin "baserom.gba", 0x592058, 0x20
+ .byte 0xff, 0xff, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00
gUnknown_08592078:: @ 8592078
- .incbin "baserom.gba", 0x592078, 0x60
+ .byte 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00
+ .byte 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x00
+ .byte 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00
+
diff --git a/graphics/misc/rotating_gate_1.png b/graphics/misc/rotating_gate_1.png
new file mode 100644
index 000000000..93680dbfb
--- /dev/null
+++ b/graphics/misc/rotating_gate_1.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_2.png b/graphics/misc/rotating_gate_2.png
new file mode 100644
index 000000000..1d320ed77
--- /dev/null
+++ b/graphics/misc/rotating_gate_2.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_3.png b/graphics/misc/rotating_gate_3.png
new file mode 100644
index 000000000..6e43079d0
--- /dev/null
+++ b/graphics/misc/rotating_gate_3.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_4.png b/graphics/misc/rotating_gate_4.png
new file mode 100644
index 000000000..77c269dc5
--- /dev/null
+++ b/graphics/misc/rotating_gate_4.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_5.png b/graphics/misc/rotating_gate_5.png
new file mode 100644
index 000000000..d8a0889b1
--- /dev/null
+++ b/graphics/misc/rotating_gate_5.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_6.png b/graphics/misc/rotating_gate_6.png
new file mode 100644
index 000000000..668feebfb
--- /dev/null
+++ b/graphics/misc/rotating_gate_6.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_7.png b/graphics/misc/rotating_gate_7.png
new file mode 100644
index 000000000..d92ae872c
--- /dev/null
+++ b/graphics/misc/rotating_gate_7.png
Binary files differ
diff --git a/graphics/misc/rotating_gate_8.png b/graphics/misc/rotating_gate_8.png
new file mode 100644
index 000000000..5e3a947c5
--- /dev/null
+++ b/graphics/misc/rotating_gate_8.png
Binary files differ