From 6445394929d07997eb43f476e0c47bbb2e27e34e Mon Sep 17 00:00:00 2001 From: Diegoisawesome Date: Thu, 18 Jan 2018 15:38:31 -0600 Subject: [PATCH] Extract rotating_gate.s --- data/rotating_gate.s | 270 ++++++++++++++++++++++++++++-- graphics/misc/rotating_gate_1.png | Bin 0 -> 119 bytes graphics/misc/rotating_gate_2.png | Bin 0 -> 136 bytes graphics/misc/rotating_gate_3.png | Bin 0 -> 136 bytes graphics/misc/rotating_gate_4.png | Bin 0 -> 136 bytes graphics/misc/rotating_gate_5.png | Bin 0 -> 122 bytes graphics/misc/rotating_gate_6.png | Bin 0 -> 144 bytes graphics/misc/rotating_gate_7.png | Bin 0 -> 144 bytes graphics/misc/rotating_gate_8.png | Bin 0 -> 142 bytes 9 files changed, 257 insertions(+), 13 deletions(-) create mode 100644 graphics/misc/rotating_gate_1.png create mode 100644 graphics/misc/rotating_gate_2.png create mode 100644 graphics/misc/rotating_gate_3.png create mode 100644 graphics/misc/rotating_gate_4.png create mode 100644 graphics/misc/rotating_gate_5.png create mode 100644 graphics/misc/rotating_gate_6.png create mode 100644 graphics/misc/rotating_gate_7.png create mode 100644 graphics/misc/rotating_gate_8.png diff --git a/data/rotating_gate.s b/data/rotating_gate.s index 90568caa5b..595cc9917c 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 0000000000000000000000000000000000000000..93680dbfb0a8c63c512aca7db7d1bf4763523cf8 GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^3Lwk^Bp4^xl@Lo_BP|LA9vSnx%?)`U@2 z)r9fsL9K>|L2PUxjr=@3K3)n8;t7QbMr=&VwJMAoxN2jf40v1{9;z@fR9reC6!~0X PJIF*&S3j3^P6NWP@VEslNvf99YuAV<57@!a!1)QMp!!E5PSKfWrx{roJOA gi@DrHfx72#F)Z7(JcP4qvLna}Pgg&ebxsLQ0CcA(xc~qF literal 0 HcmV?d00001 diff --git a/graphics/misc/rotating_gate_4.png b/graphics/misc/rotating_gate_4.png new file mode 100644 index 0000000000000000000000000000000000000000..77c269dc53678960a8b2e18bbef202e1e1b2258b GIT binary patch literal 136 zcmeAS@N?(olHy`uVBq!ia0vp^4j{||BpAFt9cBhn{+=$5As(H{Kl~XC7JRgSDIBn1 ziHk$yrxi_stc$rk!W|6K4HGyP6xkaX7-%Xo^RVjh`5f~&;3415BqD4eBCx4xfwJL2 dh-$XwOblOTx{tVQf9M9X!qe5yWt~$(699C>Cr$tW literal 0 HcmV?d00001 diff --git a/graphics/misc/rotating_gate_5.png b/graphics/misc/rotating_gate_5.png new file mode 100644 index 0000000000000000000000000000000000000000..d8a0889b186d544bdfec910e914c737de63a5913 GIT binary patch literal 122 zcmeAS@N?(olHy`uVBq!ia0vp^3Lwk^Bp4|L2PUxjr=@3K3)n8;t7QbMr=&VwJMAoxN2jf40vQuF}4WaEMQ>xICG1G S%cGc9kfENgelF{r5}E+shaiOj literal 0 HcmV?d00001 diff --git a/graphics/misc/rotating_gate_6.png b/graphics/misc/rotating_gate_6.png new file mode 100644 index 0000000000000000000000000000000000000000..668feebfbbac557494c35bcedb1b67801d501f87 GIT binary patch literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^4j{||BpAFt9cBhn;hrvzAs(H{Kl~XC7JRgSDIBn1 ziHk$yrxi_stc$rk!W|6K4HGyP6xkaX7-%*!__6Bn`5bddSkmv#c!OmQ7e}Pyg^7z< pIj)Kb@OU=0TCz!m8mwZFWMGhCoXqt;NO1zlDoNWP@VEslNvf99YuAV<57@!a!1)QMp!!E5PSKfWrx{ral>8 pgOFec0~OA+I39yl2_cL|3=Gb%CN~u{t@H+2<>~6@vd$@?2>_jDDQN%z literal 0 HcmV?d00001 diff --git a/graphics/misc/rotating_gate_8.png b/graphics/misc/rotating_gate_8.png new file mode 100644 index 0000000000000000000000000000000000000000..5e3a947c5c4eab5a0f11041dff02d4e60d2eb818 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^4j{||BpAFt9cBhnp`I>|As(H{Kl~XCdbA`$8{7}7 z*D`TUnZltFAQ$Q|hp9>NWP@VEslNvf99Y7_WFfl2!a$O_aiX0ZYl3irmO=`vqkEs) nj6l}KTp5cR63!__%t!`W_i!>-+}EX|Ad5U*{an^LB{Ts5LeMEN literal 0 HcmV?d00001