;;; ;;; ; Checks movement type, and goes to 91:(8014,X), X being 2x movement type $918000 08 PHP $918001 8B PHB $918002 4B PHK $918003 AB PLB $918004 C2 30 REP #$30 $918006 AD 1F 0A LDA $0A1F [$7E:0A1F] $918009 29 FF 00 AND #$00FF $91800C 0A ASL A $91800D AA TAX $91800E FC 14 80 JSR ($8014,x)[$91:804D] $918011 AB PLB $918012 28 PLP $918013 6B RTL $918014 dw 804D, 8066, 806E, 8076, 807E, 8087, 80B6, 8086, 810A, 8112, 8113, 812D, 8132, 813A, 8142, 8146, 8147, 814F, 8157, 815F, 8167, 816F, 8181, 8189, 818D, 8191, 8199, 81A1, 0860 ;;; ;;; ; If Samus is facing forward (0A1C = 00 or 9B) and on a moving elevator, RTS. Else JSR to 81A9 $91804D 08 PHP $91804E C2 30 REP #$30 $918050 AD 1C 0A LDA $0A1C [$7E:0A1C] $918053 F0 07 BEQ $07 [$805C] $918055 C9 9B 00 CMP #$009B $918058 F0 02 BEQ $02 [$805C] $91805A 80 05 BRA $05 [$8061] $91805C AD 18 0E LDA $0E18 [$7E:0E18] $91805F D0 03 BNE $03 [$8064] $918061 20 A9 81 JSR $81A9 [$91:81A9] $918064 28 PLP $918065 60 RTS ;;; ;;; $918066 08 PHP $918067 C2 30 REP #$30 $918069 20 A9 81 JSR $81A9 [$91:81A9] $91806C 28 PLP $91806D 60 RTS ;;; ;;; $91806E 08 PHP $91806F C2 30 REP #$30 $918071 20 A9 81 JSR $81A9 [$91:81A9] $918074 28 PLP $918075 60 RTS ;;; ;;; $918076 08 PHP $918077 C2 30 REP #$30 $918079 20 A9 81 JSR $81A9 [$91:81A9] $91807C 28 PLP $91807D 60 RTS ;;; ;;; $91807E 08 PHP $91807F C2 30 REP #$30 $918081 20 A9 81 JSR $81A9 [$91:81A9] $918084 28 PLP $918085 60 RTS ;;; ;;; ; If x-ray scope or reserve tanks, JSL $91FCAF and end. ; Else JSR 81A9, and if immediately standing, adjust Y position (crouching). ; In theory. Actually always JSRs to 81A9 and does nothing else $918087 08 PHP $918088 C2 30 REP #$30 $91808A AD 78 0A LDA $0A78 [$7E:0A78] $91808D D0 21 BNE $21 [$80B0] $91808F 20 A9 81 JSR $81A9 [$91:81A9] $918092 AD 1F 0A LDA $0A1F [$7E:0A1F] $918095 29 FF 00 AND #$00FF $918098 D0 1A BNE $1A [$80B4] $91809A ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $9180B0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $9180B4 28 PLP $9180B5 60 RTS ;;; ;;; $9180B6 08 PHP $9180B7 C2 30 REP #$30 $9180B9 20 A9 81 JSR $81A9 [$91:81A9] $9180BC 28 PLP $9180BD 60 RTS ;;; ;;; $91810A 08 PHP $91810B C2 30 REP #$30 $91810D 20 A9 81 JSR $81A9 [$91:81A9] $918110 28 PLP $918111 60 RTS ;;; ;;; ; JSR to 81A9. If not hurt, jump and clear the hurt timer. Pretty sure that never happens. (hurt) $918113 08 PHP $918114 C2 30 REP #$30 $918116 20 A9 81 JSR $81A9 [$91:81A9] $918119 AD 1F 0A LDA $0A1F [$7E:0A1F] $91811C 29 FF 00 AND #$00FF $91811F C9 0A 00 CMP #$000A $918122 F0 07 BEQ $07 [$812B] $918124 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91812B 28 PLP $91812C 60 RTS ;;; ;;; ; (turning around on ground) $918142 20 A9 81 JSR $81A9 [$91:81A9] $918145 60 RTS ;;; ;;; ; (morphing/demorphing and standing/crouching transitions) $918146 60 RTS ;;; ;;; $918147 08 PHP $918148 C2 30 REP #$30 $91814A 20 A9 81 JSR $81A9 [$91:81A9] $91814D 28 PLP $91814E 60 RTS ;;; ;;; $91814F 08 PHP $918150 C2 30 REP #$30 $918152 20 A9 81 JSR $81A9 [$91:81A9] $918155 28 PLP $918156 60 RTS ;;; ;;; $918157 08 PHP $918158 C2 30 REP #$30 $91815A 20 A9 81 JSR $81A9 [$91:81A9] $91815D 28 PLP $91815E 60 RTS ;;; ;;; $91815F 08 PHP $918160 C2 30 REP #$30 $918162 20 A9 81 JSR $81A9 [$91:81A9] $918165 28 PLP $918166 60 RTS ;;; ;;; $918167 08 PHP $918168 C2 30 REP #$30 $91816A 20 A9 81 JSR $81A9 [$91:81A9] $91816D 28 PLP $91816E 60 RTS ;;; ;;; ; JSR to 81A9, unless reserve tanks or x-ray are active, then JSR to FCAF instead. ; Good thing that never happens, 91:FCAF needs to be called with JSL ; (reserve tanks change 0A42 and never call this routine, x-ray sets to standing) $91816F 08 PHP $918170 C2 30 REP #$30 $918172 AD 78 0A LDA $0A78 [$7E:0A78] $918175 D0 05 BNE $05 [$817C] $918177 20 A9 81 JSR $81A9 [$91:81A9] $91817A 80 03 BRA $03 [$817F] $91817C ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91817F 28 PLP $918180 60 RTS ;;; ;;; $918181 08 PHP $918182 C2 30 REP #$30 $918184 20 A9 81 JSR $81A9 [$91:81A9] $918187 28 PLP $918188 60 RTS ;;; ;;; ; (Turn while jumping) $918189 20 A9 81 JSR $81A9 [$91:81A9] $91818C 60 RTS ;;; ;;; ; (Turn while falling) $91818D 20 A9 81 JSR $81A9 [$91:81A9] $918190 60 RTS ;;; ;;; $918191 08 PHP $918192 C2 30 REP #$30 $918194 20 A9 81 JSR $81A9 [$91:81A9] $918197 28 PLP $918198 60 RTS ;;; ;;; $918199 08 PHP $91819A C2 30 REP #$30 $91819C 20 A9 81 JSR $81A9 [$91:81A9] $91819F 28 PLP $9181A0 60 RTS ;;; ;;; $9181A1 08 PHP $9181A2 C2 30 REP #$30 $9181A4 20 A9 81 JSR $81A9 [$91:81A9] $9181A7 28 PLP $9181A8 60 RTS ;;; ;;; ; If no current controller input, goto E ; If there is controller input, JSR $81F4. ; Look up $0000,Y (Y = $9EE2,X, X = 0A1C*2). If it's #$FFFF, CLC and RTS. ; A If $0000,Y AND $12 is not #$0000, goto D ; B If $0002,Y AND $14 is #$0000, goto C ; D Add 6 to Y. If $0000,Y is not #$FFFF, goto A ; E STZ $0A18, JSL $9182D9, CLC, and RTS. 91:82D9 puts a value into 0A2E (8332,X, X is movement type, if 8332,X is 1 and Samus has momentum, use 2 instead) and 0A28 (B62B,X, X is Samus's position * 8. If FF or the momentum special case, copy 0A1C instead) ; C If $0004,Y = $0A1C, CLC and RTS. ; Put $0004,Y into $0A28, #$0000 in $0A56, SEC and RTS $9181A9 A5 8B LDA $8B [$7E:008B] $9181AB F0 2E BEQ $2E [$81DB] $9181AD 20 F4 81 JSR $81F4 [$91:81F4] $9181B0 AD 1C 0A LDA $0A1C [$7E:0A1C] $9181B3 0A ASL A $9181B4 AA TAX $9181B5 BD E2 9E LDA $9EE2,x[$91:9EE6] $9181B8 A8 TAY $9181B9 B9 00 00 LDA $0000,y[$91:A172] $9181BC 1A INC A $9181BD F0 23 BEQ $23 [$81E2] $9181BF 3A DEC A $9181C0 F0 04 BEQ $04 [$81C6] $9181C2 25 12 AND $12 [$7E:0012] $9181C4 D0 09 BNE $09 [$81CF] $9181C6 B9 02 00 LDA $0002,y[$91:A1A4] $9181C9 F0 19 BEQ $19 [$81E4] $9181CB 25 14 AND $14 [$7E:0014] $9181CD F0 15 BEQ $15 [$81E4] $9181CF 98 TYA $9181D0 18 CLC $9181D1 69 06 00 ADC #$0006 $9181D4 A8 TAY $9181D5 B9 00 00 LDA $0000,y[$91:A178] $9181D8 1A INC A $9181D9 D0 E4 BNE $E4 [$81BF] $9181DB 9C 18 0A STZ $0A18 [$7E:0A18] $9181DE 22 D9 82 91 JSL $9182D9[$91:82D9] $9181E2 18 CLC $9181E3 60 RTS $9181E4 B9 04 00 LDA $0004,y[$91:A1F4] $9181E7 CD 1C 0A CMP $0A1C [$7E:0A1C] $9181EA F0 F6 BEQ $F6 [$81E2] $9181EC 8D 28 0A STA $0A28 [$7E:0A28] $9181EF 9C 56 0A STZ $0A56 [$7E:0A56] $9181F2 38 SEC $9181F3 60 RTS ;;; ;;; ; This contains the evil code that disallows aiming to not be L and R ; $12 = $8F (minus pause and switch item) EOR #$FFFF ; $14 = $8D (minus pause and switch item) EOR #$FFFF ; If I understand this right, then, the pointers in the below table point to 6 byte entries that act as checks to see what position Samus should end up, based on where she is now (starting point in table) and what buttons are held down: ; If Bytes 0-1 = FFFF, use 91:B629 table for new pose ; If Bytes 0-1 are not all matched by new buttons pressed, goto next entry ; If Bytes 2-3 are not all matched by buttons being held, goto next entry ; If Bytes 4-5 are different from Samus's current position, transition into it as Samus's new position. $9181F4 A5 8F LDA $8F [$7E:008F] $9181F6 29 00 0F AND #$0F00 $9181F9 85 12 STA $12 [$7E:0012] $9181FB A5 8B LDA $8B [$7E:008B] $9181FD 29 00 0F AND #$0F00 $918200 85 14 STA $14 [$7E:0014] $918202 A5 8F LDA $8F [$7E:008F] $918204 2C B2 09 BIT $09B2 [$7E:09B2] $918207 F0 09 BEQ $09 [$8212] $918209 A5 12 LDA $12 [$7E:0012] $91820B 09 40 00 ORA #$0040 $91820E 85 12 STA $12 [$7E:0012] $918210 A5 8F LDA $8F [$7E:008F] $918212 2C B4 09 BIT $09B4 [$7E:09B4] $918215 F0 09 BEQ $09 [$8220] $918217 A5 12 LDA $12 [$7E:0012] $918219 09 80 00 ORA #$0080 $91821C 85 12 STA $12 [$7E:0012] $91821E A5 8F LDA $8F [$7E:008F] $918220 2C B6 09 BIT $09B6 [$7E:09B6] $918223 F0 09 BEQ $09 [$822E] $918225 A5 12 LDA $12 [$7E:0012] $918227 09 00 80 ORA #$8000 $91822A 85 12 STA $12 [$7E:0012] $91822C A5 8F LDA $8F [$7E:008F] $91822E 2C B8 09 BIT $09B8 [$7E:09B8] $918231 F0 09 BEQ $09 [$823C] $918233 A5 12 LDA $12 [$7E:0012] $918235 09 00 40 ORA #$4000 $918238 85 12 STA $12 [$7E:0012] $91823A A5 8F LDA $8F [$7E:008F] $91823C 2C BE 09 BIT $09BE [$7E:09BE] $91823F F0 11 BEQ $11 [$8252] $918241 AD BE 09 LDA $09BE [$7E:09BE] $918244 89 30 00 BIT #$0030 $918247 F0 07 BEQ $07 [$8250] $918249 A5 12 LDA $12 [$7E:0012] $91824B 09 10 00 ORA #$0010 $91824E 85 12 STA $12 [$7E:0012] $918250 A5 8F LDA $8F [$7E:008F] $918252 2C BC 09 BIT $09BC [$7E:09BC] $918255 F0 0F BEQ $0F [$8266] $918257 AD BC 09 LDA $09BC [$7E:09BC] $91825A 89 30 00 BIT #$0030 $91825D F0 07 BEQ $07 [$8266] $91825F A5 12 LDA $12 [$7E:0012] $918261 09 20 00 ORA #$0020 $918264 85 12 STA $12 [$7E:0012] $918266 A5 12 LDA $12 [$7E:0012] $918268 49 FF FF EOR #$FFFF $91826B 85 12 STA $12 [$7E:0012] $91826D A5 8B LDA $8B [$7E:008B] $91826F 2C B2 09 BIT $09B2 [$7E:09B2] $918272 F0 09 BEQ $09 [$827D] $918274 A5 14 LDA $14 [$7E:0014] $918276 09 40 00 ORA #$0040 $918279 85 14 STA $14 [$7E:0014] $91827B A5 8B LDA $8B [$7E:008B] $91827D 2C B4 09 BIT $09B4 [$7E:09B4] $918280 F0 09 BEQ $09 [$828B] $918282 A5 14 LDA $14 [$7E:0014] $918284 09 80 00 ORA #$0080 $918287 85 14 STA $14 [$7E:0014] $918289 A5 8B LDA $8B [$7E:008B] $91828B 2C B6 09 BIT $09B6 [$7E:09B6] $91828E F0 09 BEQ $09 [$8299] $918290 A5 14 LDA $14 [$7E:0014] $918292 09 00 80 ORA #$8000 $918295 85 14 STA $14 [$7E:0014] $918297 A5 8B LDA $8B [$7E:008B] $918299 2C B8 09 BIT $09B8 [$7E:09B8] $91829C F0 09 BEQ $09 [$82A7] $91829E A5 14 LDA $14 [$7E:0014] $9182A0 09 00 40 ORA #$4000 $9182A3 85 14 STA $14 [$7E:0014] $9182A5 A5 8B LDA $8B [$7E:008B] $9182A7 2C BE 09 BIT $09BE [$7E:09BE] $9182AA F0 11 BEQ $11 [$82BD] $9182AC AD BE 09 LDA $09BE [$7E:09BE] $9182AF 89 30 00 BIT #$0030 $9182B2 F0 07 BEQ $07 [$82BB] $9182B4 A5 14 LDA $14 [$7E:0014] $9182B6 09 10 00 ORA #$0010 $9182B9 85 14 STA $14 [$7E:0014] $9182BB A5 8B LDA $8B [$7E:008B] $9182BD 2C BC 09 BIT $09BC [$7E:09BC] $9182C0 F0 0F BEQ $0F [$82D1] $9182C2 AD BC 09 LDA $09BC [$7E:09BC] $9182C5 89 30 00 BIT #$0030 $9182C8 F0 07 BEQ $07 [$82D1] $9182CA A5 14 LDA $14 [$7E:0014] $9182CC 09 20 00 ORA #$0020 $9182CF 85 14 STA $14 [$7E:0014] $9182D1 A5 14 LDA $14 [$7E:0014] $9182D3 49 FF FF EOR #$FFFF $9182D6 85 14 STA $14 [$7E:0014] $9182D8 60 RTS ;;; ;;; $9182D9 08 PHP $9182DA 8B PHB $9182DB 4B PHK $9182DC AB PLB $9182DD C2 30 REP #$30 $9182DF 20 04 83 JSR $8304 [$91:8304] $9182E2 90 08 BCC $08 [$82EC] $9182E4 AD 1C 0A LDA $0A1C [$7E:0A1C] $9182E7 8D 28 0A STA $0A28 [$7E:0A28] $9182EA 80 15 BRA $15 [$8301] $9182EC AD 1C 0A LDA $0A1C [$7E:0A1C] $9182EF 0A ASL A $9182F0 0A ASL A $9182F1 0A ASL A $9182F2 AA TAX $9182F3 BD 2B B6 LDA $B62B,x[$91:B63B] $9182F6 29 FF 00 AND #$00FF $9182F9 C9 FF 00 CMP #$00FF $9182FC F0 E6 BEQ $E6 [$82E4] $9182FE 8D 28 0A STA $0A28 [$7E:0A28] $918301 AB PLB $918302 28 PLP $918303 6B RTL $918304 AD 1F 0A LDA $0A1F [$7E:0A1F] $918307 29 FF 00 AND #$00FF $91830A AA TAX $91830B BD 32 83 LDA $8332,x[$91:8332] $91830E 29 FF 00 AND #$00FF $918311 C9 01 00 CMP #$0001 $918314 F0 05 BEQ $05 [$831B] $918316 8D 2E 0A STA $0A2E [$7E:0A2E] $918319 18 CLC $91831A 60 RTS $91831B AD 46 0B LDA $0B46 [$7E:0B46] $91831E D0 0A BNE $0A [$832A] $918320 AD 48 0B LDA $0B48 [$7E:0B48] $918323 D0 05 BNE $05 [$832A] $918325 A9 02 00 LDA #$0002 $918328 80 EC BRA $EC [$8316] $91832A A9 01 00 LDA #$0001 $91832D 8D 2E 0A STA $0A2E [$7E:0A2E] $918330 38 SEC $918331 60 RTS $918332 db 02, 01, 01, 00, 06, 02, 08, 02, 01, 06, 02, 02 $918340 db 02, 02, 02, 06, 06, 06, 06, 02, 06, 02, 02, 02, 02, 02 $91834E 08 PHP $91834F C2 30 REP #$30 $918351 A9 1D E9 LDA #$E91D $918354 8D 60 0A STA $0A60 [$7E:0A60] $918357 A9 00 80 LDA #$8000 $91835A 0C 88 0A TSB $0A88 [$7E:0A88] $91835D 28 PLP $91835E 6B RTL $91835F 08 PHP $918360 C2 30 REP #$30 $918362 A9 13 E9 LDA #$E913 $918365 8D 60 0A STA $0A60 [$7E:0A60] $918368 A9 00 80 LDA #$8000 $91836B 1C 88 0A TRB $0A88 [$7E:0A88] $91836E 28 PLP $91836F 6B RTL $918370 08 PHP $918371 C2 30 REP #$30 $918373 DA PHX $918374 9C 7A 0A STZ $0A7A [$7E:0A7A] $918377 9C 7C 0A STZ $0A7C [$7E:0A7C] $91837A 9C 7E 0A STZ $0A7E [$7E:0A7E] $91837D 9C 80 0A STZ $0A80 [$7E:0A80] $918380 9C 82 0A STZ $0A82 [$7E:0A82] $918383 9C 84 0A STZ $0A84 [$7E:0A84] $918386 9C 86 0A STZ $0A86 [$7E:0A86] $918389 9C 8C 0A STZ $0A8C [$7E:0A8C] $91838C 9C 8E 0A STZ $0A8E [$7E:0A8E] $91838F 9C 88 0A STZ $0A88 [$7E:0A88] $918392 FA PLX $918393 28 PLP $918394 6B RTL $918395 08 PHP $918396 8B PHB $918397 4B PHK $918398 AB PLB $918399 C2 30 REP #$30 $91839B DA PHX $91839C 8D 82 0A STA $0A82 [$7E:0A82] $91839F BB TYX $9183A0 BD 02 00 LDA $0002,x[$91:8786] $9183A3 8D 7A 0A STA $0A7A [$7E:0A7A] $9183A6 BD 04 00 LDA $0004,x[$91:8788] $9183A9 8D 7E 0A STA $0A7E [$7E:0A7E] $9183AC A9 01 00 LDA #$0001 $9183AF 8D 7C 0A STA $0A7C [$7E:0A7C] $9183B2 A9 00 00 LDA #$0000 $9183B5 8D 80 0A STA $0A80 [$7E:0A80] $9183B8 FC 00 00 JSR ($0000,x)[$91:83BF] $9183BB FA PLX $9183BC AB PLB $9183BD 28 PLP $9183BE 6B RTL $9183BF 60 RTS ;;; Get controller input from game ;;; $9183C0 08 PHP $9183C1 8B PHB $9183C2 4B PHK $9183C3 AB PLB $9183C4 C2 30 REP #$30 $9183C6 2C 88 0A BIT $0A88 [$7E:0A88] $9183C9 10 24 BPL $24 [$83EF] $9183CB AD 7E 0A LDA $0A7E [$7E:0A7E] $9183CE F0 1F BEQ $1F [$83EF] $9183D0 20 F2 83 JSR $83F2 [$91:83F2] $9183D3 AD 8C 0A LDA $0A8C [$7E:0A8C] $9183D6 8D FE 0D STA $0DFE [$7E:0DFE] $9183D9 AD 8E 0A LDA $0A8E [$7E:0A8E] $9183DC 8D 00 0E STA $0E00 [$7E:0E00] $9183DF AD 84 0A LDA $0A84 [$7E:0A84] $9183E2 85 8B STA $8B [$7E:008B] $9183E4 8D 8C 0A STA $0A8C [$7E:0A8C] $9183E7 AD 86 0A LDA $0A86 [$7E:0A86] $9183EA 85 8F STA $8F [$7E:008F] $9183EC 8D 8E 0A STA $0A8E [$7E:0A8E] $9183EF AB PLB $9183F0 28 PLP $9183F1 6B RTL ;;; ;;; $9183F2 A2 00 00 LDX #$0000 $9183F5 FC 7A 0A JSR ($0A7A,x)[$91:83BF] $9183F8 CE 7C 0A DEC $0A7C [$7E:0A7C] $9183FB D0 29 BNE $29 [$8426] $9183FD AC 7E 0A LDY $0A7E [$7E:0A7E] $918400 B9 00 00 LDA $0000,y[$91:8694] $918403 10 0A BPL $0A [$840F] $918405 85 12 STA $12 [$7E:0012] $918407 C8 INY $918408 C8 INY $918409 F4 FF 83 PEA $83FF $91840C 6C 12 00 JMP ($0012)[$91:8739] $91840F 8D 7C 0A STA $0A7C [$7E:0A7C] $918412 B9 02 00 LDA $0002,y[$91:8696] $918415 8D 84 0A STA $0A84 [$7E:0A84] $918418 B9 04 00 LDA $0004,y[$91:8698] $91841B 8D 86 0A STA $0A86 [$7E:0A86] $91841E 98 TYA $91841F 18 CLC $918420 69 06 00 ADC #$0006 $918423 8D 7E 0A STA $0A7E [$7E:0A7E] $918426 60 RTS $918427 C2 30 REP #$30 $918429 9C 7E 0A STZ $0A7E [$7E:0A7E] $91842C 9C 84 0A STZ $0A84 [$7E:0A84] $91842F 9C 86 0A STZ $0A86 [$7E:0A86] $918432 68 PLA $918433 60 RTS $918448 C2 30 REP #$30 $91844A B9 00 00 LDA $0000,y[$91:8621] $91844D A8 TAY $91844E 60 RTS ;;; Record demo input frame ;;; ; Controller 2 Y enables recording $918464 08 PHP $918465 8B PHB $918466 4B PHK $918467 AB PLB $918468 C2 30 REP #$30 $91846A AD 8A 0A LDA $0A8A [$7E:0A8A] ;\ $91846D 29 FF 7F AND #$7FFF ;} $0E24 = [$0A8A] (frames of saved demo input) $918470 8D 24 0E STA $0E24 [$7E:0E24] ;/ $918473 A9 E0 00 LDA #$00E0 ;\ $918476 8D 20 0E STA $0E20 [$7E:0E20] ;} $0E20 = 00E0h (X position) $918479 A9 38 00 LDA #$0038 ;\ $91847C 8D 22 0E STA $0E22 [$7E:0E22] ;} $0E22 = 0038h (Y position) $91847F 20 2F 85 JSR $852F [$91:852F] ; Draw frames of demo input $918482 AD 8A 0A LDA $0A8A [$7E:0A8A] ;\ $918485 30 4B BMI $4B [$84D2] ;} If termination flag set, return $918487 D0 07 BNE $07 [$8490] ;\ $918489 A5 91 LDA $91 [$7E:0091] ;| $91848B 89 00 40 BIT #$4000 ;} If [$0A8A] is non-zero or controller 2 newly pressed Y: $91848E F0 42 BEQ $42 [$84D2] ;/ $918490 AD 8A 0A LDA $0A8A [$7E:0A8A] ;\ $918493 0A ASL A ;| $918494 0A ASL A ;| $918495 85 12 STA $12 [$7E:0012] ;} X = [$0A8A] * 0Ch $918497 0A ASL A ;| $918498 65 12 ADC $12 [$7E:0012] ;| $91849A AA TAX ;/ $91849B A5 8B LDA $8B [$7E:008B] ;\ $91849D 9F 00 80 B8 STA $B88000,x ;} $B8:8000+X = controller input $9184A1 A5 8F LDA $8F [$7E:008F] ;\ $9184A3 9F 02 80 B8 STA $B88002,x ;} $B8:8002+X = newly pressed controller input $9184A7 AD 11 09 LDA $0911 [$7E:0911] ;\ $9184AA 9F 04 80 B8 STA $B88004,x ;} $B8:8004+X = screen X $9184AE AD 15 09 LDA $0915 [$7E:0915] ;\ $9184B1 9F 06 80 B8 STA $B88006,x ;} $B8:8006+X = screen Y $9184B5 AD F6 0A LDA $0AF6 [$7E:0AF6] ;\ $9184B8 9F 08 80 B8 STA $B88008,x ;} $B8:8008+X = Samus X $9184BC AD FA 0A LDA $0AFA [$7E:0AFA] ;\ $9184BF 9F 0A 80 B8 STA $B8800A,x ;} $B8:800A+X = Samus Y $9184C3 AD 8A 0A LDA $0A8A [$7E:0A8A] ;\ $9184C6 1A INC A ;} A = [$0A8A] + 1 $9184C7 C9 00 0A CMP #$0A00 ;\ $9184CA D0 03 BNE $03 [$84CF] ;} If A == 0A00h: $9184CC A9 00 00 LDA #$0000 ; A = 0 $9184CF 8D 8A 0A STA $0A8A [$7E:0A8A] ; $0A8A = A $9184D2 AB PLB $9184D3 28 PLP $9184D4 6B RTL ;;; Pause/terminate/reset demo recorder ;;; ; Controller 2 X pauses/terminates demo recorder ; Controller 2 A resets demo recorder $9184D5 08 PHP $9184D6 8B PHB $9184D7 4B PHK $9184D8 AB PLB $9184D9 C2 30 REP #$30 $9184DB A5 91 LDA $91 [$7E:0091] ;\ $9184DD 89 40 00 BIT #$0040 ;} If controller 2 newly pressed X: $9184E0 F0 3D BEQ $3D [$851F] ;/ $9184E2 AD 8A 0A LDA $0A8A [$7E:0A8A] ;\ $9184E5 0A ASL A ;| $9184E6 0A ASL A ;| $9184E7 85 12 STA $12 [$7E:0012] ;} X = [$0A8A] * 0Ch $9184E9 0A ASL A ;| $9184EA 65 12 ADC $12 [$7E:0012] ;| $9184EC AA TAX ;/ $9184ED A9 FF FF LDA #$FFFF ;\ $9184F0 9F 00 80 B8 STA $B88000,x ;| $9184F4 9F 02 80 B8 STA $B88002,x ;| $9184F8 9F 04 80 B8 STA $B88004,x ;} $B8:8000+X..800B+X = FFFFh $9184FC 9F 06 80 B8 STA $B88006,x ;| $918500 9F 08 80 B8 STA $B88008,x ;| $918504 9F 0A 80 B8 STA $B8800A,x ;/ $918508 AD 8F 07 LDA $078F [$7E:078F] ;\ $91850B 8F 00 FF B8 STA $B8FF00[$B8:FF00] ;} $B8:FF00 = BTS of door that lead into current room $91850F AD 9F 07 LDA $079F [$7E:079F] ;\ $918512 8F 02 FF B8 STA $B8FF02[$B8:FF02] ;} $B8:FF02 = region $918516 AD 8A 0A LDA $0A8A [$7E:0A8A] ;\ $918519 09 00 80 ORA #$8000 ;} Set termination flag $91851C 8D 8A 0A STA $0A8A [$7E:0A8A] ;/ $91851F A5 91 LDA $91 [$7E:0091] ;\ $918521 89 80 00 BIT #$0080 ;} If controller 2 newly pressed A: $918524 F0 06 BEQ $06 [$852C] ;/ $918526 A9 00 00 LDA #$0000 ;\ $918529 8D 8A 0A STA $0A8A [$7E:0A8A] ;} $0A8A = 0 $91852C AB PLB $91852D 28 PLP $91852E 6B RTL ;;; Draw frames of demo input ;;; $91852F AD 20 0E LDA $0E20 [$7E:0E20] ;\ $918532 18 CLC ;| $918533 69 00 00 ADC #$0000 ;} $14 = [$0E20] $918536 85 14 STA $14 [$7E:0014] ;/ $918538 AD 22 0E LDA $0E22 [$7E:0E22] ;\ $91853B 18 CLC ;| $91853C 69 00 00 ADC #$0000 ;} $12 = [$0E22] $91853F 85 12 STA $12 [$7E:0012] ;/ $918541 A9 00 0A LDA #$0A00 ;\ $918544 85 26 STA $26 [$7E:0026] ;} $26 = 0A00h $918546 AD 24 0E LDA $0E24 [$7E:0E24] ;\ $918549 29 00 F0 AND #$F000 ;| $91854C EB XBA ;| $91854D 4A LSR A ;| $91854E 4A LSR A ;} A = [$0E24] first digit + 4 $91854F 4A LSR A ;| $918550 4A LSR A ;| $918551 18 CLC ;| $918552 69 04 00 ADC #$0004 ;/ $918555 22 1D A0 B4 JSL $B4A01D[$B4:A01D] ; Graphics $918559 AD 20 0E LDA $0E20 [$7E:0E20] ;\ $91855C 18 CLC ;| $91855D 69 08 00 ADC #$0008 ;} $14 = [$0E20] + 8 $918560 85 14 STA $14 [$7E:0014] ;/ $918562 AD 22 0E LDA $0E22 [$7E:0E22] ;\ $918565 18 CLC ;| $918566 69 00 00 ADC #$0000 ;} $12 = [$0E22] $918569 85 12 STA $12 [$7E:0012] ;/ $91856B A9 00 0A LDA #$0A00 ;\ $91856E 85 26 STA $26 [$7E:0026] ;} $26 = 0A00h $918570 AD 24 0E LDA $0E24 [$7E:0E24] ;\ $918573 29 00 0F AND #$0F00 ;| $918576 EB XBA ;} A = [$0E24] second digit + 4 $918577 18 CLC ;| $918578 69 04 00 ADC #$0004 ;/ $91857B 22 1D A0 B4 JSL $B4A01D[$B4:A01D] ; Graphics $91857F AD 20 0E LDA $0E20 [$7E:0E20] ;\ $918582 18 CLC ;| $918583 69 10 00 ADC #$0010 ;} $14 = [$0E20] + 10h $918586 85 14 STA $14 [$7E:0014] ;/ $918588 AD 22 0E LDA $0E22 [$7E:0E22] ;\ $91858B 18 CLC ;| $91858C 69 00 00 ADC #$0000 ;} $12 = [$0E22] $91858F 85 12 STA $12 [$7E:0012] ;/ $918591 A9 00 0A LDA #$0A00 ;\ $918594 85 26 STA $26 [$7E:0026] ;} $26 = 0A00h $918596 AD 24 0E LDA $0E24 [$7E:0E24] ;\ $918599 29 F0 00 AND #$00F0 ;| $91859C 4A LSR A ;| $91859D 4A LSR A ;| $91859E 4A LSR A ;} A = [$0E24] third digit + 4 $91859F 4A LSR A ;| $9185A0 18 CLC ;| $9185A1 69 04 00 ADC #$0004 ;/ $9185A4 22 1D A0 B4 JSL $B4A01D[$B4:A01D] ; Graphics $9185A8 AD 20 0E LDA $0E20 [$7E:0E20] ;\ $9185AB 18 CLC ;| $9185AC 69 18 00 ADC #$0018 ;} $14 = [$0E20] + 18h $9185AF 85 14 STA $14 [$7E:0014] ;/ $9185B1 A9 00 0A LDA #$0A00 ;\ $9185B4 85 26 STA $26 [$7E:0026] ;| $9185B6 AD 22 0E LDA $0E22 [$7E:0E22] ;} $12 = [$0E22] $9185B9 18 CLC ;/ $9185BA 69 00 00 ADC #$0000 ;\ $9185BD 85 12 STA $12 [$7E:0012] ;} $26 = 0A00h $9185BF AD 24 0E LDA $0E24 [$7E:0E24] ;\ $9185C2 29 0F 00 AND #$000F ;| $9185C5 18 CLC ;} A = [$0E24] fourth digit + 4 $9185C6 69 04 00 ADC #$0004 ;/ $9185C9 22 1D A0 B4 JSL $B4A01D[$B4:A01D] ; Graphics $9185CD 60 RTS ;;; ;;; $91860D db 5A, 00, 00, 00, 00, 00, 01, 00, 00, 02, 00, 02, 01, 00, 00, 02, 00, 00, 48, 84, 19, 86, 2C, 01, 00, 00, 00, 00, 01, 00, 10, 00, 10, 00, AA, 00, 10, 00, 00, 00, F0, 00, 00, 00, 00, 00, 01, 00, 00, 02, 00, 02, 01, 00, 00, 02, 00, 00, 48, 84, 41, 86, 82, 86, 27, 84 ;;; ;;; $91864F AD F6 0A LDA $0AF6 [$7E:0AF6] $918652 C9 B2 00 CMP #$00B2 $918655 10 12 BPL $12 [$8669] $918657 A9 6A 86 LDA #$866A $91865A 8D 7A 0A STA $0A7A [$7E:0A7A] $91865D A9 23 86 LDA #$8623 $918660 8D 7E 0A STA $0A7E [$7E:0A7E] $918663 A9 01 00 LDA #$0001 $918666 8D 7C 0A STA $0A7C [$7E:0A7C] $918669 60 RTS $91866A AD 4B 1A LDA $1A4B [$7E:1A4B] $91866D D0 12 BNE $12 [$8681] $91866F A9 BF 83 LDA #$83BF $918672 8D 7A 0A STA $0A7A [$7E:0A7A] $918675 A9 4B 86 LDA #$864B $918678 8D 7E 0A STA $0A7E [$7E:0A7E] $91867B A9 01 00 LDA #$0001 $91867E 8D 7C 0A STA $0A7C [$7E:0A7C] $918681 60 RTS $918682 DA PHX $918683 5A PHY $918684 A9 CD E8 LDA #$E8CD $918687 8D 42 0A STA $0A42 [$7E:0A42] $91868A 8D 44 0A STA $0A44 [$7E:0A44] $91868D 22 5F 83 91 JSL $91835F[$91:835F] $918691 7A PLY $918692 FA PLX $918693 60 RTS $918694 db 5A, 00, 00, 00, 00, 00, 01, 00, 40, 00, 40, 00, 28, 00, 40, 00, 00, 00, 01, 00, 40, 00, 40, 00, 1D, 00, 40, 00, 00, 00, 46, 00, 00, 00, 00, 00, 14, 00, 00, 00, 00, 00, 01, 00, 00, 02, 00, 02, 07, 00, 00, 02, 00, 00, 01, 00, 80, 02, 80, 00, 07, 00, 80, 02, 00, 00, 04, 00, 00, 02, 00, 00, 3C, 00, 00, 00, 00, 00, 01, 00, 40, 00, 40, 00, 28, 00, 40, 00, 00, 00, 01, 00, 40, 00, 40, 00, 13, 00, 40, 00, 00, 00, 39, 87, 27, 84 $918739 DA PHX $91873A 5A PHY $91873B A9 13 E7 LDA #$E713 $91873E 8D 42 0A STA $0A42 [$7E:0A42] $918741 A9 02 00 LDA #$0002 $918744 8D 1C 0A STA $0A1C [$7E:0A1C] $918747 22 33 F4 91 JSL $91F433[$91:F433] $91874B 22 08 FB 91 JSL $91FB08[$91:FB08] $91874F AD 20 0A LDA $0A20 [$7E:0A20] $918752 8D 24 0A STA $0A24 [$7E:0A24] $918755 AD 22 0A LDA $0A22 [$7E:0A22] $918758 8D 26 0A STA $0A26 [$7E:0A26] $91875B AD 1C 0A LDA $0A1C [$7E:0A1C] $91875E 8D 20 0A STA $0A20 [$7E:0A20] $918761 AD 1E 0A LDA $0A1E [$7E:0A1E] $918764 8D 22 0A STA $0A22 [$7E:0A22] $918767 22 5F 83 91 JSL $91835F[$91:835F] $91876B A9 0E E9 LDA #$E90E $91876E 8D 60 0A STA $0A60 [$7E:0A60] $918771 7A PLY $918772 FA PLX $918773 60 RTS $91877E db BF $918780 db 4F, 86, 0D, 86, BF $918786 db BF, 83, 94, 86 ;;; Transition table ;;; { $919EE2 dw A0DE, A0EC, A172, A0EC, A172, A0EC, A172, A0EC, A172, A1F8, A242, AE94, AEDE, A1F8, A242, A1F8, A242, A1F8, A242, AAC0, AB3A, A2F6, A376, ABB4, AC40, A41E, A46E, A4BE, A50E, A5FE, A618, A632, A666, A666, A666, A668, A666, ACF4, AD08, A66C, A6BC, A70C, A750, A70C, A750, AD94, ADD2, A0DC, A0DC, A794, A7AE, A7C8, A7CA, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, ACCC, ACE0, A0DC, A0DC, A64C, A66A, A0DC, A0DC, A7CC, A7E0, A7F4, A834, A874, A8AC, A28C, A2BE, A2F6, A376, A3F6, A40A, A2F6, A376, A8E4, A8EC, A28C, A2BE, A28C, A2BE, A28C, A2BE, A8FC, A904, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A990, A998, A9A0, A9C6, AF28, AF60, A2F6, A376, A2F6, A376, A70C, A750, A70C, A750, A66C, A6BC, A66C, A6BC, A874, A8AC, A874, A8AC, A90C, A926, A90C, A926, A940, A954, A968, A97C, A55E, A5AE, A9EC, AA12, A66C, A6BC, A0DC, A0DC, AA38, AA7C, AD1C, AD30, AD44, AD58, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DE, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0EC, A172, A0EC, A172, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, AE18, AE18, AE18, AE18, AE18, AF98, AFAC, AFC0, AFD4, AFE8, AFFC, A0DC, A0DC, AD6C, AD80, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, AA38, AA7C, AA38, AA7C, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, AE10, A0EC, A172, A0EC, A172, A0EC, A172, A0EC, A172, A0DC, A0DC, A0DC, A0DC, AE56, AE56, AE56, AE56, AE56, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC, A0DC $91A0DC dw FFFF $91A0DE dw 0000, 0100, 0026, 0000, 0200, 0025, FFFF $91A0EC dw 0080, 0800, 0055, 0080, 0010, 0057, 0080, 0020, 0059, 0080, 0000, 004B, 0400, 0030, 00F1, 0400, 0010, 00F3, 0400, 0020, 00F5, 0400, 0000, 0035, 0000, 0260, 0078, 0000, 0250, 0076, 0000, 0230, 0025, 0000, 0030, 0003, 0000, 0110, 000F, 0000, 0120, 0011, 0000, 0900, 000F, 0000, 0500, 0011, 0000, 0240, 004A, 0000, 0200, 0025, 0000, 0800, 0003, 0000, 0010, 0005, 0000, 0020, 0007, 0000, 0100, 0009, FFFF $91A172 dw 0080, 0800, 0056, 0080, 0010, 0058, 0080, 0020, 005A, 0080, 0000, 004C, 0400, 0030, 00F2, 0400, 0010, 00F4, 0400, 0020, 00F6, 0400, 0000, 0036, 0000, 0160, 0077, 0000, 0150, 0075, 0000, 0130, 0026, 0000, 0030, 0004, 0000, 0210, 0010, 0000, 0220, 0012, 0000, 0A00, 0010, 0000, 0600, 0012, 0000, 0140, 0049, 0000, 0100, 0026, 0000, 0800, 0004, 0000, 0010, 0006, 0000, 0020, 0008, 0000, 0200, 000A, FFFF $91A1F8 dw 0400, 0000, 0035, 0080, 0000, 0019, 0000, 0110, 000F, 0000, 0120, 0011, 0000, 0900, 000F, 0000, 0500, 0011, 0000, 0140, 000B, 0000, 0100, 0009, 0000, 0200, 0025, 0000, 0800, 0003, 0000, 0010, 0005, 0000, 0020, 0007, FFFF $91A242 dw 0400, 0000, 0036, 0080, 0000, 001A, 0000, 0210, 0010, 0000, 0220, 0012, 0000, 0A00, 0010, 0000, 0600, 0012, 0000, 0240, 000C, 0000, 0200, 000A, 0000, 0100, 0026, 0000, 0800, 0004, 0000, 0010, 0006, 0000, 0020, 0008, FFFF $91A28C dw 0000, 0280, 002F, 0000, 0880, 0015, 0000, 0480, 0017, 0000, 0090, 0069, 0000, 00A0, 006B, 0000, 0180, 0051, 0000, 00C0, 0013, 0000, 0040, 0013, FFFF $91A2BE dw 0000, 0180, 0030, 0000, 0880, 0016, 0000, 0480, 0018, 0000, 0090, 006A, 0000, 00A0, 006C, 0000, 0280, 0052, 0000, 00C0, 0014, 0000, 0100, 0030, 0000, 0040, 0014, FFFF $91A2F6 dw 0000, 0980, 0069, 0000, 0580, 006B, 0000, 0190, 0069, 0000, 01A0, 006B, 0000, 0900, 0069, 0000, 0500, 006B, 0000, 0280, 002F, 0000, 0880, 0015, 0000, 0480, 0017, 0000, 0090, 0069, 0000, 00A0, 006B, 0000, 0180, 0051, 0000, 00C0, 0013, 0000, 0200, 002F, 0000, 0800, 0015, 0000, 0400, 0017, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0100, 0051, 0000, 0080, 004D, 0000, 0040, 0013, FFFF $91A376 dw 0000, 0A80, 006A, 0000, 0680, 006C, 0000, 0290, 006A, 0000, 02A0, 006C, 0000, 0A00, 006A, 0000, 0600, 006C, 0000, 0180, 0030, 0000, 0880, 0016, 0000, 0480, 0018, 0000, 0090, 006A, 0000, 00A0, 006C, 0000, 0280, 0052, 0000, 00C0, 0014, 0000, 0100, 0030, 0000, 0800, 0016, 0000, 0400, 0018, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0200, 0052, 0000, 0080, 004E, 0000, 0040, 0014, FFFF $91A3F6 dw 0000, 0280, 0052, 0000, 0180, 004F, 0000, 0080, 004E, FFFF $91A40A dw 0000, 0280, 0050, 0000, 0180, 0051, 0000, 0080, 004D, FFFF $91A41E dw 0040, 0000, 0013, 0040, 0100, 0013, 0000, 0840, 0015, 0000, 0440, 0017, 0000, 0050, 0069, 0000, 0060, 006B, 0000, 0180, 0019, 0000, 0800, 0015, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0400, 0017, 0000, 0100, 0019, 0000, 0200, 001A, FFFF $91A46E dw 0040, 0000, 0014, 0040, 0200, 0014, 0000, 0840, 0016, 0000, 0440, 0018, 0000, 0050, 006A, 0000, 0060, 006C, 0000, 0280, 001A, 0000, 0800, 0016, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0400, 0018, 0000, 0200, 001A, 0000, 0100, 0019, FFFF $91A4BE dw 0040, 0000, 0013, 0040, 0100, 0013, 0000, 0840, 0015, 0000, 0440, 0017, 0000, 0050, 0069, 0000, 0060, 006B, 0000, 0180, 001B, 0000, 0800, 0015, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0400, 0017, 0000, 0100, 001B, 0000, 0200, 001C, FFFF $91A50E dw 0040, 0000, 0014, 0040, 0200, 0014, 0000, 0840, 0016, 0000, 0440, 0018, 0000, 0050, 006A, 0000, 0060, 006C, 0000, 0280, 001C, 0000, 0800, 0016, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0400, 0018, 0000, 0200, 001C, 0000, 0100, 001B, FFFF $91A55E dw 0040, 0000, 0013, 0040, 0100, 0013, 0000, 0840, 0015, 0000, 0440, 0017, 0000, 0050, 0069, 0000, 0060, 006B, 0000, 0180, 0081, 0000, 0800, 0015, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0400, 0017, 0000, 0100, 0081, 0000, 0200, 0082, FFFF $91A5AE dw 0040, 0000, 0014, 0040, 0200, 0014, 0000, 0840, 0016, 0000, 0440, 0018, 0000, 0050, 006A, 0000, 0060, 006C, 0000, 0280, 0082, 0000, 0800, 0016, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0400, 0018, 0000, 0200, 0082, 0000, 0100, 0081, FFFF $91A5FE dw 0800, 0000, 003D, 0080, 0000, 003D, 0000, 0100, 001E, 0000, 0200, 001F, FFFF $91A618 dw 0800, 0000, 003D, 0080, 0000, 003D, 0000, 0100, 001E, 0000, 0200, 001F, FFFF $91A632 dw 0800, 0000, 003E, 0080, 0000, 003E, 0000, 0100, 001E, 0000, 0200, 001F, FFFF $91A64C dw 0800, 0000, 003E, 0080, 0000, 003E, 0000, 0100, 001E, 0000, 0200, 001F, FFFF $91A666 dw FFFF $91A668 dw FFFF $91A66A dw FFFF $91A66C dw 0800, 0030, 00F7, 0800, 0010, 00F9, 0800, 0020, 00FB, 0800, 0000, 003B, 0200, 0000, 0043, 0400, 0000, 0037, 0080, 0000, 004B, 0000, 0030, 0085, 0000, 0110, 0001, 0000, 0120, 0001, 0000, 0010, 0071, 0000, 0020, 0073, 0000, 0100, 0001, FFFF $91A6BC dw 0800, 0030, 00F8, 0800, 0010, 00FA, 0800, 0020, 00FC, 0800, 0000, 003C, 0100, 0000, 0044, 0400, 0000, 0038, 0080, 0000, 004C, 0000, 0030, 0086, 0000, 0220, 0002, 0000, 0210, 0002, 0000, 0010, 0072, 0000, 0020, 0074, 0000, 0200, 0002, FFFF $91A70C dw 0000, 0900, 006D, 0000, 0500, 006F, 0000, 0A00, 0087, 0000, 0600, 0087, 0000, 0200, 0087, 0000, 0800, 002B, 0000, 0400, 002D, 0000, 0010, 006D, 0000, 0020, 006F, 0000, 0040, 0067, 0000, 0100, 0029, FFFF $91A750 dw 0000, 0A00, 006E, 0000, 0600, 0070, 0000, 0900, 0088, 0000, 0500, 0088, 0000, 0100, 0088, 0000, 0800, 002C, 0000, 0400, 002E, 0000, 0010, 006E, 0000, 0020, 0070, 0000, 0040, 0068, 0000, 0200, 002A, FFFF $91A794 dw 0800, 0000, 003D, 0080, 0000, 003D, 0000, 0100, 0031, 0000, 0200, 0032, FFFF $91A7AE dw 0800, 0000, 003E, 0080, 0000, 003E, 0000, 0200, 0032, 0000, 0100, 0031, FFFF $91A7C8 dw FFFF $91A7CA dw FFFF $91A7CC dw 0000, 0240, 0045, 0000, 0100, 0009, 0000, 0200, 0025, FFFF $91A7E0 dw 0000, 0140, 0046, 0000, 0200, 000A, 0000, 0100, 0026, FFFF $91A7F4 dw FFFF $91A834 dw FFFF $91A874 dw 0400, 0000, 0036, 0080, 0000, 00C0, 0080, 0010, 00C2, 0080, 0020, 00C4, 0000, 0160, 0077, 0000, 0150, 0075, 0000, 0140, 0049, 0000, 0200, 000A, 0000, 0100, 0026, FFFF $91A8AC dw 0400, 0000, 0035, 0080, 0000, 00BF, 0080, 0010, 00C1, 0080, 0020, 00C3, 0000, 0250, 0076, 0000, 0260, 0078, 0000, 0240, 004A, 0000, 0100, 0009, 0000, 0200, 0025, FFFF $91A8E4 dw 0000, 0280, 0050, FFFF $91A8EC dw 0000, 0180, 004F, FFFF $91A8FC dw 0000, 0280, 0066, FFFF $91A904 dw 0000, 0180, 0065, FFFF $91A90C dw 0800, 0000, 003D, 0080, 0000, 007F, 0000, 0100, 007B, 0000, 0200, 007C, FFFF $91A926 dw 0800, 0000, 003E, 0080, 0000, 0080, 0000, 0100, 007B, 0000, 0200, 007C, FFFF $91A940 dw 0800, 0000, 003D, 0000, 0200, 007E, 0000, 0100, 007D, FFFF $91A954 dw 0800, 0000, 003E, 0000, 0100, 007D, 0000, 0200, 007E, FFFF $91A968 dw 0800, 0000, 003D, 0000, 0100, 007F, 0000, 0200, 0080, FFFF $91A97C dw 0800, 0000, 003E, 0000, 0100, 007F, 0000, 0200, 0080, FFFF $91A990 dw 0000, 0280, 0066, FFFF $91A998 dw 0000, 0180, 0065, FFFF $91A9A0 dw 0000, 0180, 0065, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0040, 0013, 0000, 0080, 0065, 0000, 0100, 0065, FFFF $91A9C6 dw 0000, 0280, 0066, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0040, 0014, 0000, 0080, 0066, 0000, 0200, 0066, FFFF $91A9EC dw 0400, 0000, 0037, 0000, 0200, 001A, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0040, 0013, 0000, 0080, 0083, FFFF $91AA12 dw 0400, 0000, 0038, 0000, 0100, 0019, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0040, 0014, 0000, 0080, 0084, FFFF $91AA38 dw 0080, 0000, 004B, 0000, 0900, 000F, 0000, 0500, 0011, 0400, 0000, 0035, 0000, 0220, 0078, 0000, 0210, 0076, 0000, 0800, 0003, 0000, 0010, 0005, 0000, 0020, 0007, 0000, 0200, 0025, 0000, 0100, 0009, FFFF $91AA7C dw 0080, 0000, 004C, 0000, 0A00, 0010, 0000, 0600, 0012, 0400, 0000, 0036, 0000, 0120, 0077, 0000, 0110, 0075, 0000, 0800, 0004, 0000, 0010, 0006, 0000, 0020, 0008, 0000, 0100, 0026, 0000, 0200, 000A, FFFF $91AAC0 dw 0000, 0980, 0069, 0000, 0580, 006B, 0000, 0190, 0069, 0000, 01A0, 006B, 0000, 0900, 0069, 0000, 0500, 006B, 0000, 0280, 002F, 0000, 0880, 0015, 0000, 0480, 0017, 0000, 0090, 0069, 0000, 00A0, 006B, 0000, 0180, 0051, 0000, 00C0, 0013, 0000, 0200, 002F, 0000, 0800, 0015, 0000, 0400, 0017, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0100, 0051, 0000, 0040, 0013, FFFF $91AB3A dw 0000, 0A80, 006A, 0000, 0680, 006C, 0000, 0290, 006A, 0000, 02A0, 006C, 0000, 0A00, 006A, 0000, 0600, 006C, 0000, 0180, 0030, 0000, 0880, 0016, 0000, 0480, 0018, 0000, 0090, 006A, 0000, 00A0, 006C, 0000, 0280, 0052, 0000, 00C0, 0014, 0000, 0100, 0030, 0000, 0800, 0016, 0000, 0400, 0018, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0200, 0052, 0000, 0040, 0014, FFFF $91ABB4 dw 0400, 0000, 0037, 0000, 0980, 0069, 0000, 0580, 006B, 0000, 0190, 0069, 0000, 01A0, 006B, 0000, 01C0, 0013, 0000, 0900, 0069, 0000, 0500, 006B, 0000, 0280, 002F, 0000, 0880, 0015, 0000, 0480, 0017, 0000, 0090, 0069, 0000, 00A0, 006B, 0000, 0180, 0051, 0000, 00C0, 0013, 0000, 0200, 002F, 0000, 0800, 0015, 0000, 0400, 0017, 0000, 0010, 0069, 0000, 0020, 006B, 0000, 0100, 0051, 0000, 0080, 0017, 0000, 0040, 0013, FFFF $91AC40 dw 0400, 0000, 0038, 0000, 0A80, 006A, 0000, 0680, 006C, 0000, 0290, 006A, 0000, 02A0, 006C, 0000, 02A0, 006C, 0000, 0A00, 006A, 0000, 0600, 006C, 0000, 0180, 0030, 0000, 0880, 0016, 0000, 0480, 0018, 0000, 0090, 006A, 0000, 00A0, 006C, 0000, 0280, 0052, 0000, 00C0, 0014, 0000, 0100, 0030, 0000, 0800, 0016, 0000, 0400, 0018, 0000, 0010, 006A, 0000, 0020, 006C, 0000, 0200, 0052, 0000, 0080, 0018, 0000, 0040, 0014, FFFF $91ACCC dw 0000, 0140, 0067, 0000, 0840, 002B, 0000, 0440, 002D, FFFF $91ACE0 dw 0000, 0240, 0068, 0000, 0840, 002C, 0000, 0440, 002E, FFFF $91ACF4 dw 0000, 0280, 001A, 0080, 0000, 004C, 0000, 0200, 0025, FFFF $91AD08 dw 0000, 0180, 0019, 0080, 0000, 004B, 0000, 0100, 0026, FFFF $91AD1C dw 0080, 0200, 001A, 0080, 0000, 004C, 0000, 0200, 008B, FFFF $91AD30 dw 0080, 0100, 0019, 0080, 0000, 004B, 0000, 0100, 008C, FFFF $91AD44 dw 0080, 0200, 001A, 0080, 0000, 004C, 0000, 0200, 008D, FFFF $91AD58 dw 0080, 0100, 0019, 0080, 0000, 004B, 0000, 0100, 008E, FFFF $91AD6C dw 0000, 0880, 00CB, 0000, 0090, 00CD, 0000, 0180, 00C9, FFFF $91AD80 dw 0000, 0880, 00CC, 0000, 0090, 00CE, 0000, 0280, 00CA, FFFF $91AD94 dw 0400, 0000, 0037, 0000, 0900, 006D, 0000, 0500, 006F, 0000, 0800, 002B, 0000, 0400, 002D, 0000, 0200, 0087, 0000, 0010, 006D, 0000, 0020, 006F, 0000, 0040, 0067, 0000, 0100, 0029, FFFF $91ADD2 dw 0400, 0000, 0038, 0000, 0A00, 006E, 0000, 0600, 0070, 0000, 0800, 002C, 0000, 0400, 002E, 0000, 0100, 0088, 0000, 0010, 006E, 0000, 0020, 0070, 0000, 0040, 0068, 0000, 0200, 002A, FFFF $91AE10 dw 0800, 0000, 00DE, FFFF $91AE18 dw 0000, 0A40, 00BB, 0000, 0640, 00BD, 0000, 0240, 00BC, 0000, 0010, 00BB, 0000, 0020, 00BD, 0000, 0040, 00BC, 0000, 0200, 00BE, 0000, 0100, 00BE, 0000, 0800, 00BE, 0000, 0400, 00BE, FFFF $91AE56 dw 0000, 0940, 00ED, 0000, 0540, 00EF, 0000, 0140, 00EE, 0000, 0010, 00ED, 0000, 0020, 00EF, 0000, 0040, 00EE, 0000, 0200, 00F0, 0000, 0100, 00F0, 0000, 0800, 00F0, 0000, 0400, 00F0, FFFF $91AE94 dw 0400, 0000, 0035, 0080, 0000, 0019, 0000, 0110, 000F, 0000, 0120, 0011, 0000, 0900, 000F, 0000, 0500, 0011, 0000, 0140, 000B, 0000, 0100, 000B, 0000, 0200, 0025, 0000, 0800, 0003, 0000, 0010, 0005, 0000, 0020, 0007, FFFF $91AEDE dw 0400, 0000, 0036, 0080, 0000, 001A, 0000, 0210, 0010, 0000, 0220, 0012, 0000, 0A00, 0010, 0000, 0600, 0012, 0000, 0240, 000C, 0000, 0200, 000C, 0000, 0100, 0026, 0000, 0800, 0004, 0000, 0010, 0006, 0000, 0020, 0008, FFFF $91AF28 dw 0000, 0900, 006D, 0000, 0500, 006F, 0000, 0800, 002B, 0000, 0400, 002D, 0000, 0200, 0087, 0000, 0010, 006D, 0000, 0020, 006F, 0000, 0040, 0067, 0000, 0100, 0067, FFFF $91AF60 dw 0000, 0A00, 006E, 0000, 0600, 0070, 0000, 0800, 002C, 0000, 0400, 002E, 0000, 0100, 0088, 0000, 0010, 006E, 0000, 0020, 0070, 0000, 0040, 0068, 0000, 0200, 0068, FFFF $91AF98 dw 0000, 0280, 001A, 0080, 0000, 004C, 0000, 0200, 00BF, FFFF $91AFAC dw 0000, 0180, 0019, 0080, 0000, 004B, 0000, 0100, 00C0, FFFF $91AFC0 dw 0080, 0200, 001A, 0080, 0000, 004C, 0000, 0200, 00C1, FFFF $91AFD4 dw 0080, 0100, 0019, 0080, 0000, 004B, 0000, 0100, 00C2, FFFF $91AFE8 dw 0080, 0200, 001A, 0080, 0000, 004C, 0000, 0200, 00C3, FFFF $91AFFC dw 0080, 0100, 0019, 0080, 0000, 004B, 0000, 0100, 00C4, FFFF } ;;; Animation delay table ;;; { $91B010 dw B56F, B298, B298, B222, B222, B2B4, B2B4, B2B4, B2B4, B20A, B20A, B20A, B20A, B20A, B20A, B20A, B20A, B20A, B20A, B346, B346, B33A, B33A, B33E, B33E, B384, B384, B391, B391, B378, B378, B378, B378, B378, B378, B378, B378, B3BB, B3C0, B2A3, B2A3, B34A, B34A, B35C, B35C, B366, B366, B3C5, B3CA, B378, B378, B378, B378, B4C2, B4C5, B4C8, B4D1, B4DA, B4DD, B4E0, B4E3, B4E6, B4EA, B4EE, B4F4, B378, B378, B3CF, B3D4, B20A, B20A, B2B4, B2B4, B226, B226, B308, B30B, B326, B326, B32E, B32E, B342, B342, B36A, B36A, B30E, B312, B316, B31A, B31E, B322, B378, B378, B378, B378, B378, B378, B378, B378, B47E, B482, B486, B486, B353, B353, B346, B346, B346, B346, B361, B361, B361, B361, B2B4, B2B4, B2B4, B2B4, B226, B226, B226, B226, B378, B378, B378, B378, B378, B378, B378, B378, B39E, B39E, B491, B491, B222, B222, B3D9, B3DE, B2B4, B2B4, B3E3, B3E8, B3ED, B3F2, B3F7, B3FC, B401, B406, B40B, B410, B415, B41A, B41F, B424, B429, B42E, B56F, B433, B438, B43D, B442, B447, B44C, B451, B456, B22D, B231, B235, B23A, B2B6, B2B6, B2B6, B2B6, B2B8, B2B8, B2BC, B2BC, B2C0, B2C0, B2C4, B2C4, B2B4, B2B4, B2B4, B2B4, B2B4, B2B4, B2B4, B2B4, B2B4, B2B4, B53C, B45B, B460, B465, B46A, B46F, B474, B378, B479, B326, B326, B543, B543, B543, B543, B543, B543, B2B4, B2B4, B2B4, B2B4, B545, B556, B2AE, B2AE, B567, B567, B2AE, B2AE, B4FA, B504, B50E, B513, B378, B23F, B243, B247, B24B, B24F, B253, B22D, B231, B257, B268, B288, B290, B2B4, B2B4, B2B4, B2B4, B53C, B518, B51B, B51E, B521, B524, B527, B52A, B52D, B530, B533, B536, B539 $91B20A db 02, 03, 02, 03, 02, 03, 02, 03, 02, 03, FF, 04, 04, 04, 04, 04, 04, 03, 04, 04, 03, FF, 0A, FF $91B222 db 02, 10, FE, 01 $91B226 db 10, 10, 10, 10, 10, 10, FF $91B22D db 05, 02, F8, 01 $91B231 db 05, 02, F8, 02 $91B235 db 03, 05, 02, F8, 01 $91B23A db 03, 05, 02, F8, 02 $91B23F db 05, 02, F8, 03 $91B243 db 05, 02, F8, 04 $91B247 db 05, 02, F8, 05 $91B24B db 05, 02, F8, 06 $91B24F db 05, 02, F8, 07 $91B253 db 05, 02, F8, 08 $91B257 db 02, 02, 02, 10, F7, 01, FE, 01, 10, 10, 10, 10, FE, 04, 03, FD, 01 $91B268 db 02, 02, 10, F7, 01, FE, 01, 08, 10, 10, 10, 10, FE, 04, 10, 10, 10, FD, 02, 10, 10, 10, 10, 10, FE, 0E, 10, FE, 11, 10, FE, 01 $91B288 db 10, 10, 10, 10, FF, 03, FD, 01 $91B290 db 10, 10, 10, 10, FF, 03, FD, 02 $91B298 db 0A, 0A, 0A, 0A, F6, 08, 08, 08, 08, FE, 04 $91B2A3 db 0A, 0A, 0A, 0A, F6, 08, 08, 08, 08, FE, 04 $91B2AE db 0F, 0F, 0F, 0F, 0F, FF $91B2B4 db 10, FF $91B2B6 db 10, FF $91B2B8 db 02, 10, FE, 01 $91B2BC db 02, 10, FE, 01 $91B2C0 db 02, 10, FE, 01 $91B2C4 db 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, 08, FE, 01 $91B308 db 01, FD, 4D $91B30B db 01, FD, 4E $91B30E db 01, FD, 15, 00 $91B312 db 01, FD, 16, 00 $91B316 db 01, FD, 69, 00 $91B31A db 01, FD, 6A, 00 $91B31E db 01, FD, 6B, 00 $91B322 db 01, FD, 6C, 00 $91B326 db 03, 04, 04, 04, 04, 50, FE, 01 $91B32E db 08, 02, 02, 02, 02, 02, 02, 02, 02, 02, FE, 01 $91B33A db 02, 10, FE, 01 $91B33E db 02, 10, FE, 01 $91B342 db 02, 03, FE, 01 $91B346 db 02, 10, FE, 01 $91B34A db 08, 06, 06, FE, 01, 08, 10, FE, 01 $91B353 db 08, 06, 06, FE, 01, 08, 10, FE, 01 $91B35C db 02, 10, 10, FE, 01 $91B361 db 02, F0, 10, FE, 01 $91B366 db 02, 10, FE, 01 $91B36A db 02, 10, FE, 01, 06, 06, 06, 08, FF, 08, 08, FF, 0A, FF $91B378 db 03, 03, 03, 03, 03, 03, 03, 03, FF, 03, FE, 0A $91B384 db 04, 03, 02, 03, 02, 03, 02, 03, 02, FE, 08, 08, FF $91B391 db 04, 01, 01, 01, 01, 01, 01, 01, 01, FE, 08, 08, FF $91B39E db 04, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, FE, 18, 08, FF $91B3BB db 02, 02, 02, F8, 02 $91B3C0 db 02, 02, 02, F8, 01 $91B3C5 db 02, 02, 02, F8, 52 $91B3CA db 02, 02, 02, F8, 51 $91B3CF db 02, 02, 02, F8, 28 $91B3D4 db 02, 02, 02, F8, 27 $91B3D9 db 02, 02, 02, F8, 2A $91B3DE db 02, 02, 02, F8, 29 $91B3E3 db 02, 02, 02, F8, 04 $91B3E8 db 02, 02, 02, F8, 03 $91B3ED db 02, 02, 02, F8, 08 $91B3F2 db 02, 02, 02, F8, 07 $91B3F7 db 02, 02, 02, F8, 16 $91B3FC db 02, 02, 02, F8, 15 $91B401 db 02, 02, 02, F8, 18 $91B406 db 02, 02, 02, F8, 17 $91B40B db 02, 02, 02, F8, 2C $91B410 db 02, 02, 02, F8, 2B $91B415 db 02, 02, 02, F8, 2E $91B41A db 02, 02, 02, F8, 2D $91B41F db 02, 02, 02, F8, 86 $91B424 db 02, 02, 02, F8, 85 $91B429 db 02, 02, 02, F8, 74 $91B42E db 02, 02, 02, F8, 73 $91B433 db 02, 02, 02, F8, 06 $91B438 db 02, 02, 02, F8, 05 $91B43D db 02, 02, 02, F8, 6A $91B442 db 02, 02, 02, F8, 69 $91B447 db 02, 02, 02, F8, 6E $91B44C db 02, 02, 02, F8, 6D $91B451 db 02, 02, 02, F8, 72 $91B456 db 02, 02, 02, F8, 71 $91B45B db 02, 02, 02, F8, 1A $91B460 db 02, 02, 02, F8, 19 $91B465 db 02, 02, 02, F8, 1A $91B46A db 02, 02, 02, F8, 19 $91B46F db 02, 02, 02, F8, 1A $91B474 db 02, 02, 02, F8, 19 $91B479 db 02, 02, 02, FD, BA $91B47E db 04, 03, FE, 01 $91B482 db 04, 03, FE, 01 $91B486 db 03, 02, 02, 02, 02, 02, 02, 02, 02, FE, 08 $91B491 db 05, 05, FB, 03, 02, 03, 02, 03, 02, 03, 02, FE, 08, 02, 01, 02, 01, 02, 01, 02, 01, FE, 08, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, FE, 18 $91B4C2 db 03, FD, 27 $91B4C5 db 03, FD, 28 $91B4C8 db 03, 03, F9, 02, 00, 1D, 31, 79, 7D $91B4D1 db 03, 03, F9, 02, 00, 41, 32, 7A, 7E $91B4DA db 00, FD, 20 $91B4DD db 00, FD, 42 $91B4E0 db 03, FD, 01 $91B4E3 db 03, FD, 02 $91B4E6 db 03, 03, FD, 27 $91B4EA db 03, 03, FD, 28 $91B4EE db 00, FC, 02, 00, 1D, 79 $91B4F4 db 00, FC, 02, 00, 41, 7A $91B4FA db 03, 03, 03, F9, 02, 00, 1D, 31, 79, 7D $91B504 db 03, 03, 03, F9, 02, 00, DF, DF, DF, DF $91B50E db 03, 03, 03, FD, 01 $91B513 db 03, 03, 03, FD, BA $91B518 db 03, FD, 85 $91B51B db 03, FD, 86 $91B51E db 03, FD, 71 $91B521 db 03, FD, 72 $91B524 db 03, FD, 73 $91B527 db 03, FD, 74 $91B52A db 03, FD, 03 $91B52D db 03, FD, 04 $91B530 db 03, FD, 05 $91B533 db 03, FD, 06 $91B536 db 03, FD, 07 $91B539 db 03, FD, 08 $91B53C db 06, 06, 06, 06, 06, 06, FF $91B543 db 08, FF $91B545 db 03, 03, 01, 01, FE, 02, 0C, 0C, 0C, 0C, FE, 04, 03, 03, 03, FD, 01 $91B556 db 03, 03, 01, 01, FE, 02, 0C, 0C, 0C, 0C, FE, 04, 03, 03, 03, FD, 02 $91B567 db 02, 02, 02, 02, 02, 02, FE, 01 ; Not sure how long this one should be. Making it continue to $B5D1 for now $91B56F db 08, FF, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, 33, 02, 02, 02, 30, FE, 01 } $91B5D1 db D3, B5, 02, 02, 02, 02, 02, 02, 02, 02, 02, 02, FF, E8, B5, F3, B5, FE, B5, 09, B6, 14, B6, 03, 03, 03, 03, 03, 03, 03, 03, 03, 03, FF, 02, 03, 02, 03, 02, 03, 02, 03, 02, 03, FF, 02, 02, 02, 02, 02, 02, 02, 02, 02, 02, FF, 01, 02, 01, 02, 01, 02, 01, 02, 01, 02, FF, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, FF, 01, 00, 01, 00, 01, 00, 01, 00, 02, 00, 00, 00, FF, FF, 08, 00, 18, 00, 08, 00, FF, 02, 06, 00, 15, 00, 04, 00, FF, 07, 06, 00, 15, 00, 08, 00, 01, 00, 06, 00, 15, 00, 04, 00, 02, 09, 06, 00, 15, 00, 08, 00, 01, 01, 06, 00, 15, 00, 04, 00, 02, 08, 06, 00, 15, 00, 08, 00, 01, 03, 06, 00, 15, 00, 04, 00, 02, 06, 06, 00, 15, 00, 08, 01, 01, 02, 06, 00, 15, 00, 04, 01, 02, 07, 06, 00, 15, 00, 08, 01, 01, 02, 06, 00, 15, 00, 04, 01, 02, 07, 06, 00, 15, 00 $91B6A1 db 08, 01, 01, 01, 06, 00, 15, 00, 04, 01, 02, 08, 06, 00, 15, 00, 08, 01, 01, 03, 06, 00, 15, 00, 04, 01, 02, 06, 06, 00, 15, 00, 08, 02, FF, 02, 08, 00, 13, 00, 04, 02, FF, 07, 08, 00, 13, 00, 08, 02, 51, 00, 08, 00, 13, 00, 04, 02, 52, 09, 08, 00, 13, 00, 08, 02, FF, 04, 06, 00, 0A, 00, 04, 02, FF, 05, 06, 00, 0A, 00, 08, 03, FF, FF, 00, 00, 0C, 00, 04, 03, FF, FF, 00, 00, 0C, 00, 08, 03, FF, FF, 00, 00, 0C, 00, 04, 03, FF, FF, 00, 00, 0C, 00, 08, 04, FF, FF, 00, 00, 07, 00, 08, 04, 1D, FF, 00, 00, 07, 00, 04, 04, 41, FF, 00, 00, 07, 00 $91B751 db 04, 0E, FF, FB, 06, 00, 15, 00, 08, 0E, FF, FB, 06, 00, 15, 00, 08, 05, 27, 02, 00, 00, 10, 00, 04, 05, 28, 07, 00, 00, 10, 00, 08, 06, FF, 02, 08, 00, 13, 00, 04, 06, FF, 07, 08, 00, 13, 00, 08, 06, 29, 00, 08, 00, 13, 00, 04, 06, 2A, 09, 08, 00, 13, 00, 08, 06, FF, 04, 06, 00, 0A, 00, 04, 06, FF, 05, 06, 00, 0A, 00, 04, 17, FF, FB, 08, 00, 13, 00, 08, 17, FF, FB, 08, 00, 13, 00, 08, 08, FF, FF, 00, 00, 07, 00, 04, 08, FF, FF, 00, 00, 07, 00 $91B7D1 db 08, 0F, FF, 02, 00, 00, 10, 00, 04, 0F, FF, 07, 00, 00, 10, 00, 08, 0F, FF $91B7E5 db 00, 00, 07, 00, 04, 0F, FF $91B7ED db 00, 00, 07, 00 $91B801 db 08, 0F, FF, 02, 06, 00, 15, 00, 04, 0F, FF, 07, 06, 00, 15, 00, 08, 0F, FF $91B817 db 10, 00, 04, 0F, FF $91B81F db 10, 00 $91B831 db 04, 04, FF, FF, 00, 00, 07, 00 $91B841 db 04, 0E, FF, FB, 00, 00, 10, 00, 08, 0E, FF, FB, 00, 00, 10, 00 $91B871 db 08, 10, 02, 07, 06, 00, 15, 00, 04, 10, 01, 02, 06, 00, 15, 00, 08, 02, FF, 02, 03, 00, 13, 00, 04, 02, FF, 07, 03, 00, 13, 00, 08, 02, FF, 02, 08, 00, 13, 00, 04, 02, FF, 07, 08, 00, 13, 00, 08, 19, 4E, FF, 08, 00, 13, 00, 04, 19, 4D, FF, 08, 00, 13, 00, 08, 02, FF, 02, 08, 00, 13, 00, 04, 02, FF, 07, 08, 00, 13, 00, 08, 0A, FF, FF, 06, 00, 15, 00, 04, 0A, FF, FF, 06, 00, 15, 00, 08, 02, FF, 00, 03, 00, 13, 00, 04, 02, FF, 09, 03, 00, 13, 00, 08, 02, FF $91B8E5 db 03, 00, 13, 00, 04, 02, FF $91B8ED db 03, 00, 13, 00 $91B8F9 db 04, 02, FF $91B8FD db 03, 00, 13, 00 $91B961 db 08, 06, FF, 02, 08, 00, 13, 00, 04, 06, FF, 07, 08, 00, 13, 00, 08, 02, 51, 01, 08, 00, 13, 00, 04, 02, 52, 08, 08, 00, 13, 00, 08, 02, 51, 03, 08, 00, 13, 00, 04, 02, 52, 06, 08, 00, 13, 00, 08, 06, 29, 01, 08, 00, 13, 00, 04, 06, 2A, 08, 08, 00, 13, 00, 08, 06, 29, 03, 08, 00, 13, 00, 04, 06, 2A, 06, 08, 00, 13, 00, 08, 05, 27, 01, 00, 00, 10, 00, 04, 05, 28, 08, 00, 00, 10, 00, 08, 05, 27, 03, 00, 00, 10, 00, 04, 05, 28, 06, 00, 00, 10, 00, 08, 10, 06, 08, 06, 00, 15, 00 $91B9E1 db 08, 10, 08, 06, 06, 00, 15, 00 $91B9F1 db 08, 11, FF, FF, 00, 00, 07, 00, 04, 11, FF, FF, 00, 00, 07, 00, 08, 11, 79, FF, 00, 00, 07, 00, 04, 11, 7A, FF, 00, 00, 07, 00, 08, 13, FF, FF, 00, 00, 07, 00, 04, 13, FF, FF, 00, 00, 07, 00, 08, 12, FF, FF, 00, 00, 07, 00, 04, 12, FF, FF, 00, 00, 07, 00, 08, 03, FF, FF, 00, 00, 0C, 00, 04, 03, FF, FF, 00, 00, 0C, 00, 08, 14, 19, FF, 08, 00, 13, 00, 04, 14, 1A, FF, 08, 00, 13, 00, 08, 05, 27, 00, 00, 00, 10, 00, 04, 05, 28, 09, 00, 00, 10, 00, 04, 18, FF, FB, 08, 00, 13, 00, 08, 18, FF, FB, 08, 00, 13, 00, 08, 15, FF, 02, 06, 00, 15, 00, 04, 15, FF, 07, 06, 00, 15, 00, 04, 0E, FF, FA, 06, 00, 15, 00, 08, 0E, FF, FA, 06, 00, 15, 00, 04, 0E $91BA95 db 06, 00, 15, 00, 08, 0E, FF, FC, 06, 00, 15, 00, 04, 17 $91BAA5 db 08, 00, 13, 00, 08, 17 $91BAAC db FA, 08, 00, 13, 00, 04, 17 $91BAB5 db 08, 00, 13, 00, 08, 17 $91BABD db 08, 00, 13, 00, 04, 18 $91BAC4 db FA, 08, 00, 13, 00, 08, 18, FF, FA, 08, 00, 13, 00, 04, 18, FF, FC, 08, 00, 13, 00, 08, 18 $91BADD db 08, 00, 13, 00 $91BAF1 db 04, 17 $91BAF5 db 00, 00, 10, 00, 08, 17 $91BAFD db 00, 00, 10, 00, 00, 00, FF, FF, 08, 00, 18, 00, 04, 0E $91BB0D db 06, 00, 15, 00, 08, 0E, FF, FA, 06, 00, 15, 00 $91BB21 db 08, 17 $91BB25 db 08, 00, 13, 00 $91BB31 db 08, 18 $91BB35 db 08, 00, 13, 00, 04, 17 $91BB3D db 00, 00, 10, 00, 08, 17 $91BB45 db 00, 00, 10, 00, 08, 00, FF, 02, 03, 00, 15, 00, 04, 00, FF, 07, 03, 00, 15, 00, 08, 00, FF, 02, 03, 00, 15, 00, 04, 00, FF, 07, 03, 00, 15, 00 $91BBB9 db 08, 16 $91BBBD db 10, 00, 11, 00, 04, 16 $91BBC5 db 10, 00, 11, 00 $91BC21 db 04, 0E, FF, FB, 06, 00, 15, 00, 08, 0E, FF, FB, 06, 00, 15, 00 $91BC61 db 08, 1B, FF, FF, 08, 00, 13, 00, 04, 1B, FF, FF, 08, 00, 13, 00, 08, 1B, FF $91BC75 db 08, 00, 13, 00, 04, 1B, FF $91BC7D db 08, 00, 13, 00, 08, 1B, FF $91BC85 db 08, 00, 13, 00, 04, 1B, FF $91BC8D db 08, 00, 13, 00, 08, 1B, FF $91BC95 db 08, 00, 13, 00, 04, 1B, FF $91BC9D db 08, 00, 13, 00, 08, 15 $91BCA4 db 01, 06, 00, 15, 00, 04, 15 $91BCAC db 08, 06, 00, 15, 00, 08, 15, 89, 03, 06, 00, 15, 00, 04, 15, 8A, 06, 06, 00, 15, 00 $91BCD1 db 08, 00 $91BCD4 db 02, 06, 00, 15, 00, 04, 00 $91BCDC db 07, 06, 00, 15, 00, 08, 0A $91BCE5 db 06, 00, 15, 00 $91BCF9 db 04, 05 $91BCFD db 00, 00, 10, 00 $91BD29 db 08, 00, FF, 00, 03, 00, 15, 00, 04, 00, FF, 09, 03, 00, 15, 00, 08, 00, FF, 01, 03, 00, 15, 00, 04, 00, FF, 08, 03, 00, 15, 00, 08, 00, FF, 03, 03, 00, 15, 00, 04, 00, FF, 06, 03, 00, 15, 00, 08, 00, FF, 02, 03, 00, 15, 00, 04, 00, FF, 07, 03, 00, 15, 00 $91BD71 db 04, 1B, FF, FF $91BD77 db 15, 00 $91BD82 db 1B, FF, FF, FC, 00, 15, 00, 08, 1A, FF, 02, 06, 00, 15, 00, 08, 1A, EC, 01, 06, 00, 15, 00, 08, 1A, EC, 02, 06, 00, 15, 00 $91BDA9 db 08, 1A, EC, FF, 06, 00, 15, 00 $91BDB9 db 04, 0F, FF, 09, 08, 00, 10, 00, 08, 0F, FF $91BDC5 db 08, 00, 10, 00, 04, 0F, FF, 08, 08, 00, 10, 00, 08, 0F, FF, 03, 08, 00, 10, 00, 04, 0F, FF, 06, 08, 00, 10, 00 $91BDF1 db 08, 0F, FF $91BDF5 db 03, 00, 15, 00, 04, 0F, FF $91BDFD db 03, 00, 15, 00, 08, 0F, FF $91BE05 db 03, 00, 15, 00, 04, 0F, FF $91BE0D db 03, 00, 15, 00 ;;; ;;; $91BE11 08 PHP $91BE12 8B PHB $91BE13 4B PHK $91BE14 AB PLB $91BE15 C2 30 REP #$30 $91BE17 8A TXA $91BE18 EB XBA $91BE19 29 00 FF AND #$FF00 $91BE1C 85 16 STA $16 [$7E:0016] $91BE1E 84 18 STY $18 [$7E:0018] $91BE20 A5 12 LDA $12 [$7E:0012] $91BE22 38 SEC $91BE23 E5 14 SBC $14 [$7E:0014] $91BE25 85 1A STA $1A [$7E:001A] $91BE27 10 08 BPL $08 [$BE31] $91BE29 A9 00 01 LDA #$0100 $91BE2C 18 CLC $91BE2D 65 1A ADC $1A [$7E:001A] $91BE2F 85 1A STA $1A [$7E:001A] $91BE31 A5 12 LDA $12 [$7E:0012] $91BE33 18 CLC $91BE34 65 14 ADC $14 [$7E:0014] $91BE36 85 1C STA $1C [$7E:001C] $91BE38 C9 01 01 CMP #$0101 $91BE3B 30 06 BMI $06 [$BE43] $91BE3D 38 SEC $91BE3E E9 00 01 SBC #$0100 $91BE41 85 1C STA $1C [$7E:001C] $91BE43 A5 14 LDA $14 [$7E:0014] $91BE45 D0 0C BNE $0C [$BE53] $91BE47 A5 12 LDA $12 [$7E:0012] $91BE49 C9 40 00 CMP #$0040 $91BE4C F0 3C BEQ $3C [$BE8A] $91BE4E C9 C0 00 CMP #$00C0 $91BE51 F0 37 BEQ $37 [$BE8A] $91BE53 A5 1A LDA $1A [$7E:001A] $91BE55 C9 80 00 CMP #$0080 $91BE58 10 0E BPL $0E [$BE68] $91BE5A C9 40 00 CMP #$0040 $91BE5D 10 21 BPL $21 [$BE80] $91BE5F A5 1C LDA $1C [$7E:001C] $91BE61 C9 40 00 CMP #$0040 $91BE64 30 15 BMI $15 [$BE7B] $91BE66 80 0E BRA $0E [$BE76] $91BE68 C9 C0 00 CMP #$00C0 $91BE6B 10 0E BPL $0E [$BE7B] $91BE6D A5 1C LDA $1C [$7E:001C] $91BE6F C9 C0 00 CMP #$00C0 $91BE72 30 0C BMI $0C [$BE80] $91BE74 80 0F BRA $0F [$BE85] $91BE76 A0 00 00 LDY #$0000 $91BE79 80 12 BRA $12 [$BE8D] $91BE7B A0 02 00 LDY #$0002 $91BE7E 80 0D BRA $0D [$BE8D] $91BE80 A0 04 00 LDY #$0004 $91BE83 80 08 BRA $08 [$BE8D] $91BE85 A0 06 00 LDY #$0006 $91BE88 80 03 BRA $03 [$BE8D] $91BE8A A0 08 00 LDY #$0008 $91BE8D A5 1A LDA $1A [$7E:001A] $91BE8F C9 80 00 CMP #$0080 $91BE92 30 04 BMI $04 [$BE98] $91BE94 38 SEC $91BE95 E9 80 00 SBC #$0080 $91BE98 0A ASL A $91BE99 AA TAX $91BE9A BD D4 C9 LDA $C9D4,x[$91:CA74] $91BE9D 85 1E STA $1E [$7E:001E] $91BE9F A5 1C LDA $1C [$7E:001C] $91BEA1 C9 80 00 CMP #$0080 $91BEA4 30 04 BMI $04 [$BEAA] $91BEA6 38 SEC $91BEA7 E9 80 00 SBC #$0080 $91BEAA 0A ASL A $91BEAB AA TAX $91BEAC BD D4 C9 LDA $C9D4,x[$91:CA84] $91BEAF 85 20 STA $20 [$7E:0020] $91BEB1 BB TYX $91BEB2 FC B8 BE JSR ($BEB8,x)[$91:C27F] $91BEB5 AB PLB $91BEB6 28 PLP $91BEB7 6B RTL $91BEB8 dw BEC2, C022, C27F, BF72, C505 ;;; ;;; $91BEC2 08 PHP $91BEC3 C2 30 REP #$30 $91BEC5 A5 18 LDA $18 [$7E:0018] $91BEC7 3A DEC A $91BEC8 0A ASL A $91BEC9 A8 TAY $91BECA A5 16 LDA $16 [$7E:0016] $91BECC 85 22 STA $22 [$7E:0022] $91BECE 85 24 STA $24 [$7E:0024] $91BED0 A5 22 LDA $22 [$7E:0022] $91BED2 18 CLC $91BED3 65 1E ADC $1E [$7E:001E] $91BED5 85 22 STA $22 [$7E:0022] $91BED7 B0 09 BCS $09 [$BEE2] $91BED9 88 DEY $91BEDA 88 DEY $91BEDB 10 F3 BPL $F3 [$BED0] $91BEE2 A5 23 LDA $23 [$7E:0023] $91BEE4 09 00 FF ORA #$FF00 $91BEE7 97 00 STA [$00],y[$7E:918C] $91BEE9 C8 INY $91BEEA C8 INY $91BEEB 84 12 STY $12 [$7E:0012] $91BEED 98 TYA $91BEEE 38 SEC $91BEEF E9 04 00 SBC #$0004 $91BEF2 A8 TAY $91BEF3 A5 22 LDA $22 [$7E:0022] $91BEF5 18 CLC $91BEF6 65 1E ADC $1E [$7E:001E] $91BEF8 85 22 STA $22 [$7E:0022] $91BEFA B0 0D BCS $0D [$BF09] $91BEFC A5 23 LDA $23 [$7E:0023] $91BEFE 09 00 FF ORA #$FF00 $91BF01 97 00 STA [$00],y[$7E:918A] $91BF03 88 DEY $91BF04 88 DEY $91BF05 10 EC BPL $EC [$BEF3] $91BF09 A9 FF 00 LDA #$00FF $91BF0C 97 00 STA [$00],y[$7E:9180] $91BF0E 88 DEY $91BF0F 88 DEY $91BF10 10 F7 BPL $F7 [$BF09] $91BF12 A5 18 LDA $18 [$7E:0018] $91BF14 0A ASL A $91BF15 A8 TAY $91BF16 A5 24 LDA $24 [$7E:0024] $91BF18 18 CLC $91BF19 65 20 ADC $20 [$7E:0020] $91BF1B 85 24 STA $24 [$7E:0024] $91BF1D B0 0C BCS $0C [$BF2B] $91BF1F C8 INY $91BF20 C8 INY $91BF21 C0 CC 01 CPY #$01CC $91BF24 30 F0 BMI $F0 [$BF16] $91BF2B A5 25 LDA $25 [$7E:0025] $91BF2D 09 00 FF ORA #$FF00 $91BF30 97 00 STA [$00],y[$7E:91A4] $91BF32 88 DEY $91BF33 88 DEY $91BF34 84 14 STY $14 [$7E:0014] $91BF36 98 TYA $91BF37 18 CLC $91BF38 69 04 00 ADC #$0004 $91BF3B A8 TAY $91BF3C A5 24 LDA $24 [$7E:0024] $91BF3E 18 CLC $91BF3F 65 20 ADC $20 [$7E:0020] $91BF41 85 24 STA $24 [$7E:0024] $91BF43 B0 10 BCS $10 [$BF55] $91BF45 A5 25 LDA $25 [$7E:0025] $91BF47 09 00 FF ORA #$FF00 $91BF4A 97 00 STA [$00],y[$7E:91A6] $91BF4C C8 INY $91BF4D C8 INY $91BF4E C0 CC 01 CPY #$01CC $91BF51 30 E9 BMI $E9 [$BF3C] $91BF55 A9 FF 00 LDA #$00FF $91BF58 97 00 STA [$00],y[$7E:91FC] $91BF5A C8 INY $91BF5B C8 INY $91BF5C C0 CC 01 CPY #$01CC $91BF5F 30 F4 BMI $F4 [$BF55] $91BF61 A4 12 LDY $12 [$7E:0012] $91BF63 A9 00 FF LDA #$FF00 $91BF66 97 00 STA [$00],y[$7E:918E] $91BF68 C8 INY $91BF69 C8 INY $91BF6A C4 14 CPY $14 [$7E:0014] $91BF6C 30 F5 BMI $F5 [$BF63] $91BF6E F0 F3 BEQ $F3 [$BF63] $91BF70 28 PLP $91BF71 60 RTS $91C27F 08 PHP $91C280 C2 30 REP #$30 $91C282 A5 18 LDA $18 [$7E:0018] $91C284 0A ASL A $91C285 A8 TAY $91C286 A5 16 LDA $16 [$7E:0016] $91C288 85 22 STA $22 [$7E:0022] $91C28A 85 24 STA $24 [$7E:0024] $91C28C A5 1C LDA $1C [$7E:001C] $91C28E C9 80 00 CMP #$0080 $91C291 10 05 BPL $05 [$C298] $91C293 A2 00 00 LDX #$0000 $91C296 80 0F BRA $0F [$C2A7] $91C298 A5 1A LDA $1A [$7E:001A] $91C29A C9 80 00 CMP #$0080 $91C29D 10 05 BPL $05 [$C2A4] $91C2A4 A2 04 00 LDX #$0004 $91C2A7 FC B7 C2 JSR ($C2B7,x)[$91:C2BD] $91C2AA A4 12 LDY $12 [$7E:0012] $91C2AC A9 FF 00 LDA #$00FF $91C2AF 97 00 STA [$00],y[$7E:918E] $91C2B1 88 DEY $91C2B2 88 DEY $91C2B3 10 FA BPL $FA [$C2AF] $91C2B5 28 PLP $91C2B6 60 RTS $91C2B7 db BD $91C2BB db 46 $91C2BD 08 PHP $91C2BE C2 30 REP #$30 $91C2C0 5A PHY $91C2C1 A5 24 LDA $24 [$7E:0024] $91C2C3 18 CLC $91C2C4 65 20 ADC $20 [$7E:0020] $91C2C6 85 24 STA $24 [$7E:0024] $91C2C8 B0 0B BCS $0B [$C2D5] $91C2CA C8 INY $91C2CB C8 INY $91C2CC C0 CC 01 CPY #$01CC $91C2CF 30 F0 BMI $F0 [$C2C1] $91C2D5 A5 25 LDA $25 [$7E:0025] $91C2D7 97 00 STA [$00],y[$7E:9192] $91C2D9 C8 INY $91C2DA C8 INY $91C2DB C0 CC 01 CPY #$01CC $91C2DE 30 07 BMI $07 [$C2E7] $91C2E7 98 TYA $91C2E8 38 SEC $91C2E9 E9 04 00 SBC #$0004 $91C2EC 85 12 STA $12 [$7E:0012] $91C2EE A5 24 LDA $24 [$7E:0024] $91C2F0 18 CLC $91C2F1 65 20 ADC $20 [$7E:0020] $91C2F3 85 24 STA $24 [$7E:0024] $91C2F5 B0 0D BCS $0D [$C304] $91C2F7 A5 25 LDA $25 [$7E:0025] $91C2F9 97 00 STA [$00],y[$7E:9194] $91C2FB C8 INY $91C2FC C8 INY $91C2FD C0 CC 01 CPY #$01CC $91C300 30 EC BMI $EC [$C2EE] $91C302 80 0C BRA $0C [$C310] $91C304 A9 FF 00 LDA #$00FF $91C307 97 00 STA [$00],y[$7E:92BA] $91C309 C8 INY $91C30A C8 INY $91C30B C0 CC 01 CPY #$01CC $91C30E 30 F4 BMI $F4 [$C304] $91C310 7A PLY $91C311 C8 INY $91C312 A5 22 LDA $22 [$7E:0022] $91C314 18 CLC $91C315 65 1E ADC $1E [$7E:001E] $91C317 85 22 STA $22 [$7E:0022] $91C319 B0 0B BCS $0B [$C326] $91C31B C8 INY $91C31C C8 INY $91C31D C0 CC 01 CPY #$01CC $91C320 30 F0 BMI $F0 [$C312] $91C326 E2 20 SEP #$20 $91C328 A5 23 LDA $23 [$7E:0023] $91C32A 97 00 STA [$00],y[$7E:9191] $91C32C C2 20 REP #$20 $91C32E C8 INY $91C32F C8 INY $91C330 C0 CC 01 CPY #$01CC $91C333 30 07 BMI $07 [$C33C] $91C33C 98 TYA $91C33D 38 SEC $91C33E E9 04 00 SBC #$0004 $91C341 85 14 STA $14 [$7E:0014] $91C343 A5 22 LDA $22 [$7E:0022] $91C345 18 CLC $91C346 65 1E ADC $1E [$7E:001E] $91C348 85 22 STA $22 [$7E:0022] $91C34A B0 11 BCS $11 [$C35D] $91C34C E2 20 SEP #$20 $91C34E A5 23 LDA $23 [$7E:0023] $91C350 97 00 STA [$00],y[$7E:9193] $91C352 C2 20 REP #$20 $91C354 C8 INY $91C355 C8 INY $91C356 C0 CC 01 CPY #$01CC $91C359 30 E8 BMI $E8 [$C343] $91C35B 80 0D BRA $0D [$C36A] $91C35D E2 20 SEP #$20 $91C35F A9 FF LDA #$FF $91C361 97 00 STA [$00],y[$7E:9265] $91C363 C8 INY $91C364 C8 INY $91C365 C0 CC 01 CPY #$01CC $91C368 30 F5 BMI $F5 [$C35F] $91C36A E2 20 SEP #$20 $91C36C A4 12 LDY $12 [$7E:0012] $91C36E A9 00 LDA #$00 $91C370 97 00 STA [$00],y[$7E:9190] $91C372 88 DEY $91C373 88 DEY $91C374 C4 14 CPY $14 [$7E:0014] $91C376 10 F6 BPL $F6 [$C36E] $91C378 C2 20 REP #$20 $91C37A A5 14 LDA $14 [$7E:0014] $91C37C 3A DEC A $91C37D 85 12 STA $12 [$7E:0012] $91C37F 28 PLP $91C380 60 RTS $91C446 08 PHP $91C447 C2 30 REP #$30 $91C449 5A PHY $91C44A A5 24 LDA $24 [$7E:0024] $91C44C 38 SEC $91C44D E5 20 SBC $20 [$7E:0020] $91C44F 85 24 STA $24 [$7E:0024] $91C451 90 0B BCC $0B [$C45E] $91C453 C8 INY $91C454 C8 INY $91C455 C0 CC 01 CPY #$01CC $91C458 30 F0 BMI $F0 [$C44A] $91C45E A5 25 LDA $25 [$7E:0025] $91C460 97 00 STA [$00],y[$7E:91D0] $91C462 C8 INY $91C463 C8 INY $91C464 C0 CC 01 CPY #$01CC $91C467 30 07 BMI $07 [$C470] $91C470 98 TYA $91C471 38 SEC $91C472 E9 04 00 SBC #$0004 $91C475 85 12 STA $12 [$7E:0012] $91C477 A5 24 LDA $24 [$7E:0024] $91C479 38 SEC $91C47A E5 20 SBC $20 [$7E:0020] $91C47C 85 24 STA $24 [$7E:0024] $91C47E 90 0D BCC $0D [$C48D] $91C480 A5 25 LDA $25 [$7E:0025] $91C482 97 00 STA [$00],y[$7E:91D2] $91C484 C8 INY $91C485 C8 INY $91C486 C0 CC 01 CPY #$01CC $91C489 30 EC BMI $EC [$C477] $91C48B 80 0C BRA $0C [$C499] $91C48D A9 00 00 LDA #$0000 $91C490 97 00 STA [$00],y[$7E:92C2] $91C492 C8 INY $91C493 C8 INY $91C494 C0 CC 01 CPY #$01CC $91C497 30 F4 BMI $F4 [$C48D] $91C499 7A PLY $91C49A C8 INY $91C49B A5 22 LDA $22 [$7E:0022] $91C49D 38 SEC $91C49E E5 1E SBC $1E [$7E:001E] $91C4A0 85 22 STA $22 [$7E:0022] $91C4A2 90 0B BCC $0B [$C4AF] $91C4A4 C8 INY $91C4A5 C8 INY $91C4A6 C0 CC 01 CPY #$01CC $91C4A9 30 F0 BMI $F0 [$C49B] $91C4AF E2 20 SEP #$20 $91C4B1 A5 23 LDA $23 [$7E:0023] $91C4B3 97 00 STA [$00],y[$7E:91D1] $91C4B5 C2 20 REP #$20 $91C4B7 C8 INY $91C4B8 C8 INY $91C4B9 C0 CC 01 CPY #$01CC $91C4BC 30 07 BMI $07 [$C4C5] $91C4C5 98 TYA $91C4C6 38 SEC $91C4C7 E9 04 00 SBC #$0004 $91C4CA 85 14 STA $14 [$7E:0014] $91C4CC A5 22 LDA $22 [$7E:0022] $91C4CE 38 SEC $91C4CF E5 1E SBC $1E [$7E:001E] $91C4D1 85 22 STA $22 [$7E:0022] $91C4D3 90 11 BCC $11 [$C4E6] $91C4D5 E2 20 SEP #$20 $91C4D7 A5 23 LDA $23 [$7E:0023] $91C4D9 97 00 STA [$00],y[$7E:91D3] $91C4DB C2 20 REP #$20 $91C4DD C8 INY $91C4DE C8 INY $91C4DF C0 CC 01 CPY #$01CC $91C4E2 30 E8 BMI $E8 [$C4CC] $91C4E4 80 0D BRA $0D [$C4F3] $91C4F3 E2 20 SEP #$20 $91C4F5 A4 14 LDY $14 [$7E:0014] $91C4F7 A9 FF LDA #$FF $91C4F9 97 00 STA [$00],y[$7E:91CF] $91C4FB 88 DEY $91C4FC 88 DEY $91C4FD C4 12 CPY $12 [$7E:0012] $91C4FF 10 F6 BPL $F6 [$C4F7] $91C501 C2 20 REP #$20 $91C503 28 PLP $91C504 60 RTS ;;; ;;; $91C54B 08 PHP $91C54C 8B PHB $91C54D 4B PHK $91C54E AB PLB $91C54F C2 30 REP #$30 $91C551 8A TXA $91C552 EB XBA $91C553 29 00 FF AND #$FF00 $91C556 85 16 STA $16 [$7E:0016] $91C558 84 18 STY $18 [$7E:0018] $91C55A A5 12 LDA $12 [$7E:0012] $91C55C 38 SEC $91C55D E5 14 SBC $14 [$7E:0014] $91C55F 85 1A STA $1A [$7E:001A] $91C561 10 08 BPL $08 [$C56B] $91C56B A5 12 LDA $12 [$7E:0012] $91C56D 18 CLC $91C56E 65 14 ADC $14 [$7E:0014] $91C570 85 1C STA $1C [$7E:001C] $91C572 C9 01 01 CMP #$0101 $91C575 30 06 BMI $06 [$C57D] $91C57D A5 14 LDA $14 [$7E:0014] $91C57F D0 0C BNE $0C [$C58D] $91C581 A5 12 LDA $12 [$7E:0012] $91C583 C9 40 00 CMP #$0040 $91C586 F0 3C BEQ $3C [$C5C4] $91C588 C9 C0 00 CMP #$00C0 $91C58B F0 37 BEQ $37 [$C5C4] $91C58D A5 1A LDA $1A [$7E:001A] $91C58F C9 80 00 CMP #$0080 $91C592 10 0E BPL $0E [$C5A2] $91C594 C9 40 00 CMP #$0040 $91C597 10 21 BPL $21 [$C5BA] $91C599 A5 1C LDA $1C [$7E:001C] $91C59B C9 40 00 CMP #$0040 $91C59E 30 15 BMI $15 [$C5B5] $91C5A0 80 0E BRA $0E [$C5B0] $91C5A2 C9 C0 00 CMP #$00C0 $91C5A5 10 0E BPL $0E [$C5B5] $91C5A7 A5 1C LDA $1C [$7E:001C] $91C5A9 C9 C0 00 CMP #$00C0 $91C5AC 30 0C BMI $0C [$C5BA] $91C5AE 80 0F BRA $0F [$C5BF] $91C5B0 A0 00 00 LDY #$0000 $91C5B3 80 12 BRA $12 [$C5C7] $91C5B5 A0 02 00 LDY #$0002 $91C5B8 80 0D BRA $0D [$C5C7] $91C5BA A0 04 00 LDY #$0004 $91C5BD 80 08 BRA $08 [$C5C7] $91C5BF A0 06 00 LDY #$0006 $91C5C2 80 03 BRA $03 [$C5C7] $91C5C4 A0 08 00 LDY #$0008 $91C5C7 A5 1A LDA $1A [$7E:001A] $91C5C9 C9 80 00 CMP #$0080 $91C5CC 30 04 BMI $04 [$C5D2] $91C5CE 38 SEC $91C5CF E9 80 00 SBC #$0080 $91C5D2 0A ASL A $91C5D3 AA TAX $91C5D4 BD D4 C9 LDA $C9D4,x[$91:CA7E] $91C5D7 85 1E STA $1E [$7E:001E] $91C5D9 A5 1C LDA $1C [$7E:001C] $91C5DB C9 80 00 CMP #$0080 $91C5DE 30 04 BMI $04 [$C5E4] $91C5E0 38 SEC $91C5E1 E9 80 00 SBC #$0080 $91C5E4 0A ASL A $91C5E5 AA TAX $91C5E6 BD D4 C9 LDA $C9D4,x[$91:CA7E] $91C5E9 85 20 STA $20 [$7E:0020] $91C5EB BB TYX $91C5EC 9C 1E 0D STZ $0D1E [$7E:0D1E] $91C5EF FC F5 C5 JSR ($C5F5,x)[$91:C822] $91C5F2 AB PLB $91C5F3 28 PLP $91C5F4 6B RTL $91C5F5 db FF $91C5F7 db C1 $91C5F9 db 22 $91C5FB db 60 $91C5FD db 98 $91C5FF 08 PHP $91C600 C2 30 REP #$30 $91C602 A5 18 LDA $18 [$7E:0018] $91C604 3A DEC A $91C605 0A ASL A $91C606 A8 TAY $91C607 A5 17 LDA $17 [$7E:0017] $91C609 09 00 FF ORA #$FF00 $91C60C 97 00 STA [$00],y[$7E:9894] $91C60E 88 DEY $91C60F 88 DEY $91C610 A5 16 LDA $16 [$7E:0016] $91C612 85 22 STA $22 [$7E:0022] $91C614 85 24 STA $24 [$7E:0024] $91C616 A5 22 LDA $22 [$7E:0022] $91C618 18 CLC $91C619 65 1E ADC $1E [$7E:001E] $91C61B 85 22 STA $22 [$7E:0022] $91C61D B0 0D BCS $0D [$C62C] $91C61F A5 23 LDA $23 [$7E:0023] $91C621 09 00 FF ORA #$FF00 $91C624 97 00 STA [$00],y[$7E:9892] $91C626 88 DEY $91C627 88 DEY $91C628 10 EC BPL $EC [$C616] $91C62C A9 FF 00 LDA #$00FF $91C62F 97 00 STA [$00],y[$7E:988E] $91C631 88 DEY $91C632 88 DEY $91C633 10 F7 BPL $F7 [$C62C] $91C635 A5 18 LDA $18 [$7E:0018] $91C637 0A ASL A $91C638 A8 TAY $91C639 A5 24 LDA $24 [$7E:0024] $91C63B 18 CLC $91C63C 65 20 ADC $20 [$7E:0020] $91C63E 85 24 STA $24 [$7E:0024] $91C640 B0 10 BCS $10 [$C652] $91C642 A5 25 LDA $25 [$7E:0025] $91C644 09 00 FF ORA #$FF00 $91C647 97 00 STA [$00],y[$7E:9896] $91C649 C8 INY $91C64A C8 INY $91C64B C0 CC 01 CPY #$01CC $91C64E 30 E9 BMI $E9 [$C639] $91C652 A9 FF 00 LDA #$00FF $91C655 97 00 STA [$00],y[$7E:989A] $91C657 C8 INY $91C658 C8 INY $91C659 C0 CC 01 CPY #$01CC $91C65C 30 F4 BMI $F4 [$C652] $91C65E 28 PLP $91C65F 60 RTS $91C660 08 PHP $91C661 C2 30 REP #$30 $91C663 A5 18 LDA $18 [$7E:0018] $91C665 3A DEC A $91C666 0A ASL A $91C667 A8 TAY $91C668 A5 16 LDA $16 [$7E:0016] $91C66A 29 00 FF AND #$FF00 $91C66D 97 00 STA [$00],y[$7E:98FE] $91C66F 88 DEY $91C670 88 DEY $91C671 A5 16 LDA $16 [$7E:0016] $91C673 85 22 STA $22 [$7E:0022] $91C675 85 24 STA $24 [$7E:0024] $91C677 A5 24 LDA $24 [$7E:0024] $91C679 38 SEC $91C67A E5 20 SBC $20 [$7E:0020] $91C67C 85 24 STA $24 [$7E:0024] $91C67E 90 0D BCC $0D [$C68D] $91C680 A5 24 LDA $24 [$7E:0024] $91C682 29 00 FF AND #$FF00 $91C685 97 00 STA [$00],y[$7E:98FC] $91C687 88 DEY $91C688 88 DEY $91C689 10 EC BPL $EC [$C677] $91C68D A9 FF 00 LDA #$00FF $91C690 97 00 STA [$00],y[$7E:98F8] $91C692 88 DEY $91C693 88 DEY $91C694 10 F7 BPL $F7 [$C68D] $91C696 A5 18 LDA $18 [$7E:0018] $91C698 0A ASL A $91C699 A8 TAY $91C69A A5 22 LDA $22 [$7E:0022] $91C69C 38 SEC $91C69D E5 1E SBC $1E [$7E:001E] $91C69F 85 22 STA $22 [$7E:0022] $91C6A1 90 10 BCC $10 [$C6B3] $91C6A3 A5 22 LDA $22 [$7E:0022] $91C6A5 29 00 FF AND #$FF00 $91C6A8 97 00 STA [$00],y[$7E:9900] $91C6AA C8 INY $91C6AB C8 INY $91C6AC C0 CC 01 CPY #$01CC $91C6AF 30 E9 BMI $E9 [$C69A] $91C6B1 80 0C BRA $0C [$C6BF] $91C6B3 A9 FF 00 LDA #$00FF $91C6B6 97 00 STA [$00],y[$7E:9904] $91C6B8 C8 INY $91C6B9 C8 INY $91C6BA C0 CC 01 CPY #$01CC $91C6BD 30 F4 BMI $F4 [$C6B3] $91C6BF 28 PLP $91C6C0 60 RTS $91C6C1 08 PHP $91C6C2 C2 30 REP #$30 $91C6C4 A5 18 LDA $18 [$7E:0018] $91C6C6 3A DEC A $91C6C7 0A ASL A $91C6C8 A8 TAY $91C6C9 E2 20 SEP #$20 $91C6CB A5 17 LDA $17 [$7E:0017] $91C6CD 97 00 STA [$00],y[$7E:9948] $91C6CF C8 INY $91C6D0 A5 17 LDA $17 [$7E:0017] $91C6D2 97 00 STA [$00],y[$7E:9949] $91C6D4 C2 20 REP #$20 $91C6D6 88 DEY $91C6D7 88 DEY $91C6D8 88 DEY $91C6D9 A5 16 LDA $16 [$7E:0016] $91C6DB 85 22 STA $22 [$7E:0022] $91C6DD 85 24 STA $24 [$7E:0024] $91C6DF A5 1A LDA $1A [$7E:001A] $91C6E1 C9 C0 00 CMP #$00C0 $91C6E4 10 05 BPL $05 [$C6EB] $91C6E6 A2 00 00 LDX #$0000 $91C6E9 80 0F BRA $0F [$C6FA] $91C6EB A5 1C LDA $1C [$7E:001C] $91C6ED C9 C0 00 CMP #$00C0 $91C6F0 10 05 BPL $05 [$C6F7] $91C6F7 A2 04 00 LDX #$0004 $91C6FA FC 16 C7 JSR ($C716,x)[$91:C7CB] $91C6FD A5 18 LDA $18 [$7E:0018] $91C6FF 0A ASL A $91C700 A8 TAY $91C701 B7 00 LDA [$00],y[$7E:994A] $91C703 C9 FF 00 CMP #$00FF $91C706 F0 0C BEQ $0C [$C714] $91C708 A9 FF 00 LDA #$00FF $91C70B 97 00 STA [$00],y[$7E:994A] $91C70D C8 INY $91C70E C8 INY $91C70F C0 CC 01 CPY #$01CC $91C712 30 ED BMI $ED [$C701] $91C714 28 PLP $91C715 60 RTS $91C716 db 1C $91C71A db CB $91C71C 08 PHP $91C71D C2 30 REP #$30 $91C71F 5A PHY $91C720 A5 22 LDA $22 [$7E:0022] $91C722 18 CLC $91C723 65 1E ADC $1E [$7E:001E] $91C725 85 22 STA $22 [$7E:0022] $91C727 B0 0E BCS $0E [$C737] $91C729 E2 20 SEP #$20 $91C72B A5 23 LDA $23 [$7E:0023] $91C72D 97 00 STA [$00],y[$7E:98FE] $91C72F C2 20 REP #$20 $91C731 88 DEY $91C732 88 DEY $91C733 10 EB BPL $EB [$C720] $91C735 80 0F BRA $0F [$C746] $91C737 8C 1E 0D STY $0D1E [$7E:0D1E] $91C73A E2 20 SEP #$20 $91C73C A9 FF LDA #$FF $91C73E 97 00 STA [$00],y[$7E:985C] $91C740 88 DEY $91C741 88 DEY $91C742 10 FA BPL $FA [$C73E] $91C744 C2 20 REP #$20 $91C746 7A PLY $91C747 C8 INY $91C748 A5 24 LDA $24 [$7E:0024] $91C74A 18 CLC $91C74B 65 20 ADC $20 [$7E:0020] $91C74D 85 24 STA $24 [$7E:0024] $91C74F B0 0E BCS $0E [$C75F] $91C751 E2 20 SEP #$20 $91C753 A5 25 LDA $25 [$7E:0025] $91C755 97 00 STA [$00],y[$7E:98FF] $91C757 C2 20 REP #$20 $91C759 88 DEY $91C75A 88 DEY $91C75B 10 EB BPL $EB [$C748] $91C75D 80 1E BRA $1E [$C77D] $91C75F E2 20 SEP #$20 $91C761 A9 FF LDA #$FF $91C763 97 00 STA [$00],y[$7E:98F9] $91C765 88 DEY $91C766 88 DEY $91C767 10 F8 BPL $F8 [$C761] $91C769 C2 20 REP #$20 $91C76B AC 1E 0D LDY $0D1E [$7E:0D1E] $91C76E F0 0D BEQ $0D [$C77D] $91C770 88 DEY $91C771 88 DEY $91C772 30 09 BMI $09 [$C77D] $91C774 A9 FF 00 LDA #$00FF $91C777 97 00 STA [$00],y[$7E:985A] $91C779 88 DEY $91C77A 88 DEY $91C77B 10 FA BPL $FA [$C777] $91C77D 28 PLP $91C77E 60 RTS $91C7CB 08 PHP $91C7CC C2 30 REP #$30 $91C7CE 5A PHY $91C7CF A5 22 LDA $22 [$7E:0022] $91C7D1 38 SEC $91C7D2 E5 1E SBC $1E [$7E:001E] $91C7D4 85 22 STA $22 [$7E:0022] $91C7D6 90 0E BCC $0E [$C7E6] $91C7D8 E2 20 SEP #$20 $91C7DA A5 23 LDA $23 [$7E:0023] $91C7DC 97 00 STA [$00],y[$7E:9946] $91C7DE C2 20 REP #$20 $91C7E0 88 DEY $91C7E1 88 DEY $91C7E2 10 EB BPL $EB [$C7CF] $91C7E4 80 0C BRA $0C [$C7F2] $91C7E6 E2 20 SEP #$20 $91C7E8 A9 00 LDA #$00 $91C7EA 97 00 STA [$00],y[$7E:9942] $91C7EC 88 DEY $91C7ED 88 DEY $91C7EE 10 FA BPL $FA [$C7EA] $91C7F0 C2 20 REP #$20 $91C7F2 7A PLY $91C7F3 C8 INY $91C7F4 A5 24 LDA $24 [$7E:0024] $91C7F6 38 SEC $91C7F7 E5 20 SBC $20 [$7E:0020] $91C7F9 85 24 STA $24 [$7E:0024] $91C7FB 90 0E BCC $0E [$C80B] $91C7FD E2 20 SEP #$20 $91C7FF A5 25 LDA $25 [$7E:0025] $91C801 97 00 STA [$00],y[$7E:9947] $91C803 C2 20 REP #$20 $91C805 88 DEY $91C806 88 DEY $91C807 10 EB BPL $EB [$C7F4] $91C809 80 15 BRA $15 [$C820] $91C80B E2 20 SEP #$20 $91C80D 5A PHY $91C80E A9 00 LDA #$00 $91C810 97 00 STA [$00],y[$7E:98A1] $91C812 88 DEY $91C813 88 DEY $91C814 10 FA BPL $FA [$C810] $91C816 7A PLY $91C817 88 DEY $91C818 A9 FF LDA #$FF $91C81A 97 00 STA [$00],y[$7E:98A0] $91C81C 88 DEY $91C81D 88 DEY $91C81E 10 FA BPL $FA [$C81A] $91C820 28 PLP $91C821 60 RTS $91C822 08 PHP $91C823 C2 30 REP #$30 $91C825 A5 18 LDA $18 [$7E:0018] $91C827 3A DEC A $91C828 0A ASL A $91C829 A8 TAY $91C82A E2 20 SEP #$20 $91C82C A5 17 LDA $17 [$7E:0017] $91C82E 97 00 STA [$00],y[$7E:918E] $91C830 C8 INY $91C831 A5 17 LDA $17 [$7E:0017] $91C833 97 00 STA [$00],y[$7E:918F] $91C835 C2 20 REP #$20 $91C837 C8 INY $91C838 A5 16 LDA $16 [$7E:0016] $91C83A 85 22 STA $22 [$7E:0022] $91C83C 85 24 STA $24 [$7E:0024] $91C83E A5 1C LDA $1C [$7E:001C] $91C840 C9 80 00 CMP #$0080 $91C843 10 05 BPL $05 [$C84A] $91C845 A2 00 00 LDX #$0000 $91C848 80 0F BRA $0F [$C859] $91C84A A5 1A LDA $1A [$7E:001A] $91C84C C9 80 00 CMP #$0080 $91C84F 10 05 BPL $05 [$C856] $91C851 A2 02 00 LDX #$0002 $91C854 80 03 BRA $03 [$C859] $91C856 A2 04 00 LDX #$0004 $91C859 FC 74 C8 JSR ($C874,x)[$91:C87A] $91C85C A5 18 LDA $18 [$7E:0018] $91C85E 3A DEC A $91C85F 3A DEC A $91C860 0A ASL A $91C861 A8 TAY $91C862 B7 00 LDA [$00],y[$7E:918C] $91C864 C9 FF 00 CMP #$00FF $91C867 F0 09 BEQ $09 [$C872] $91C869 A9 FF 00 LDA #$00FF $91C86C 97 00 STA [$00],y[$7E:98FC] $91C86E 88 DEY $91C86F 88 DEY $91C870 10 F0 BPL $F0 [$C862] $91C872 28 PLP $91C873 60 RTS $91C874 db 7A $91C876 db E8 $91C878 db 39 $91C87A 08 PHP $91C87B C2 30 REP #$30 $91C87D 5A PHY $91C87E A5 24 LDA $24 [$7E:0024] $91C880 18 CLC $91C881 65 20 ADC $20 [$7E:0020] $91C883 85 24 STA $24 [$7E:0024] $91C885 B0 0D BCS $0D [$C894] $91C887 A5 25 LDA $25 [$7E:0025] $91C889 97 00 STA [$00],y[$7E:9190] $91C88B C8 INY $91C88C C8 INY $91C88D C0 CC 01 CPY #$01CC $91C890 30 EC BMI $EC [$C87E] $91C892 80 0F BRA $0F [$C8A3] $91C894 8C 1E 0D STY $0D1E [$7E:0D1E] $91C897 A9 FF 00 LDA #$00FF $91C89A 97 00 STA [$00],y[$7E:92A4] $91C89C C8 INY $91C89D C8 INY $91C89E C0 CC 01 CPY #$01CC $91C8A1 30 F7 BMI $F7 [$C89A] $91C8A3 7A PLY $91C8A4 C8 INY $91C8A5 A5 22 LDA $22 [$7E:0022] $91C8A7 18 CLC $91C8A8 65 1E ADC $1E [$7E:001E] $91C8AA 85 22 STA $22 [$7E:0022] $91C8AC B0 11 BCS $11 [$C8BF] $91C8AE E2 20 SEP #$20 $91C8B0 A5 23 LDA $23 [$7E:0023] $91C8B2 97 00 STA [$00],y[$7E:9191] $91C8B4 C2 20 REP #$20 $91C8B6 C8 INY $91C8B7 C8 INY $91C8B8 C0 CC 01 CPY #$01CC $91C8BB 30 E8 BMI $E8 [$C8A5] $91C8BD 80 27 BRA $27 [$C8E6] $91C8BF E2 20 SEP #$20 $91C8C1 A9 FF LDA #$FF $91C8C3 97 00 STA [$00],y[$7E:92A5] $91C8C5 C8 INY $91C8C6 C8 INY $91C8C7 C0 CC 01 CPY #$01CC $91C8CA 30 F5 BMI $F5 [$C8C1] $91C8CC C2 20 REP #$20 $91C8CE AC 1E 0D LDY $0D1E [$7E:0D1E] $91C8D1 F0 13 BEQ $13 [$C8E6] $91C8D3 C8 INY $91C8D4 C8 INY $91C8D5 C0 CC 01 CPY #$01CC $91C8D8 10 0C BPL $0C [$C8E6] $91C8DA A9 FF 00 LDA #$00FF $91C8DD 97 00 STA [$00],y[$7E:92A6] $91C8DF C8 INY $91C8E0 C8 INY $91C8E1 C0 CC 01 CPY #$01CC $91C8E4 30 F7 BMI $F7 [$C8DD] $91C8E6 28 PLP $91C8E7 60 RTS $91C8E8 08 PHP $91C8E9 C2 30 REP #$30 $91C8EB 5A PHY $91C8EC A5 24 LDA $24 [$7E:0024] $91C8EE 38 SEC $91C8EF E5 20 SBC $20 [$7E:0020] $91C8F1 85 24 STA $24 [$7E:0024] $91C8F3 90 0D BCC $0D [$C902] $91C8F5 A5 25 LDA $25 [$7E:0025] $91C8F7 97 00 STA [$00],y[$7E:91D0] $91C8F9 C8 INY $91C8FA C8 INY $91C8FB C0 CC 01 CPY #$01CC $91C8FE 30 EC BMI $EC [$C8EC] $91C900 80 0C BRA $0C [$C90E] $91C90E 7A PLY $91C90F C8 INY $91C910 A5 22 LDA $22 [$7E:0022] $91C912 18 CLC $91C913 65 1E ADC $1E [$7E:001E] $91C915 85 22 STA $22 [$7E:0022] $91C917 B0 11 BCS $11 [$C92A] $91C919 E2 20 SEP #$20 $91C91B A5 23 LDA $23 [$7E:0023] $91C91D 97 00 STA [$00],y[$7E:91D1] $91C91F C2 20 REP #$20 $91C921 C8 INY $91C922 C8 INY $91C923 C0 CC 01 CPY #$01CC $91C926 30 E8 BMI $E8 [$C910] $91C928 80 0D BRA $0D [$C937] $91C937 28 PLP $91C938 60 RTS $91C939 08 PHP $91C93A C2 30 REP #$30 $91C93C 5A PHY $91C93D A5 24 LDA $24 [$7E:0024] $91C93F 38 SEC $91C940 E5 20 SBC $20 [$7E:0020] $91C942 85 24 STA $24 [$7E:0024] $91C944 90 0D BCC $0D [$C953] $91C946 A5 25 LDA $25 [$7E:0025] $91C948 97 00 STA [$00],y[$7E:91D0] $91C94A C8 INY $91C94B C8 INY $91C94C C0 CC 01 CPY #$01CC $91C94F 30 EC BMI $EC [$C93D] $91C951 80 0C BRA $0C [$C95F] $91C953 A9 00 00 LDA #$0000 $91C956 97 00 STA [$00],y[$7E:9904] $91C958 C8 INY $91C959 C8 INY $91C95A C0 CC 01 CPY #$01CC $91C95D 30 F4 BMI $F4 [$C953] $91C95F 7A PLY $91C960 C8 INY $91C961 A5 22 LDA $22 [$7E:0022] $91C963 38 SEC $91C964 E5 1E SBC $1E [$7E:001E] $91C966 85 22 STA $22 [$7E:0022] $91C968 90 11 BCC $11 [$C97B] $91C96A E2 20 SEP #$20 $91C96C A5 23 LDA $23 [$7E:0023] $91C96E 97 00 STA [$00],y[$7E:91D1] $91C970 C2 20 REP #$20 $91C972 C8 INY $91C973 C8 INY $91C974 C0 CC 01 CPY #$01CC $91C977 30 E8 BMI $E8 [$C961] $91C979 80 1B BRA $1B [$C996] $91C97B E2 20 SEP #$20 $91C97D 5A PHY $91C97E A9 00 LDA #$00 $91C980 97 00 STA [$00],y[$7E:9975] $91C982 C8 INY $91C983 C8 INY $91C984 C0 CC 01 CPY #$01CC $91C987 30 F7 BMI $F7 [$C980] $91C989 7A PLY $91C98A 88 DEY $91C98B A9 FF LDA #$FF $91C98D 97 00 STA [$00],y[$7E:9974] $91C98F C8 INY $91C990 C8 INY $91C991 C0 CC 01 CPY #$01CC $91C994 30 F7 BMI $F7 [$C98D] $91C996 28 PLP $91C997 60 RTS $91C998 08 PHP $91C999 C2 30 REP #$30 $91C99B A5 18 LDA $18 [$7E:0018] $91C99D 3A DEC A $91C99E 0A ASL A $91C99F A8 TAY $91C9A0 A5 12 LDA $12 [$7E:0012] $91C9A2 C9 40 00 CMP #$0040 $91C9A5 D0 09 BNE $09 [$C9B0] $91C9A7 A5 17 LDA $17 [$7E:0017] $91C9A9 09 00 FF ORA #$FF00 $91C9AC 97 00 STA [$00],y[$7E:9894] $91C9AE 80 07 BRA $07 [$C9B7] $91C9B0 A5 16 LDA $16 [$7E:0016] $91C9B2 29 00 FF AND #$FF00 $91C9B5 97 00 STA [$00],y[$7E:98FE] $91C9B7 88 DEY $91C9B8 88 DEY $91C9B9 A9 FF 00 LDA #$00FF $91C9BC 97 00 STA [$00],y[$7E:98FC] $91C9BE 88 DEY $91C9BF 88 DEY $91C9C0 10 FA BPL $FA [$C9BC] $91C9C2 A5 18 LDA $18 [$7E:0018] $91C9C4 0A ASL A $91C9C5 A8 TAY $91C9C6 A9 FF 00 LDA #$00FF $91C9C9 97 00 STA [$00],y[$7E:9900] $91C9CB C8 INY $91C9CC C8 INY $91C9CD C0 CC 01 CPY #$01CC $91C9D0 30 F7 BMI $F7 [$C9C9] $91C9D2 28 PLP $91C9D3 60 RTS $91C9D4 db 00, 00, 06, 00, 0C, 00, 12, 00, 19, 00, 1F, 00, 25, 00, 2C, 00, 32, 00, 39, 00, 40, 00, 46, 00, 4D, 00, 54, 00, 5B, 00, 62, 00, 6A, 00, 71, 00, 79, 00, 80, 00, 88, 00, 91, 00, 99, 00, A2, 00, AB, 00, B4, 00, BD, 00, C7, 00, D2, 00, DC, 00, E8, 00, F3, 00, 00, 01, 0C, 01, 1A, 01, 28, 01, 37, 01, 48, 01, 59, 01, 6B, 01, 7F, 01, 94, 01, AB, 01, C3, 01, DE, 01, FC, 01, 1D, 02, 41, 02, 6A, 02, 97, 02, CB, 02, 06, 03, 4B, 03, 9D, 03, FE, 03, 74, 04, 06, 05, C3, 05, BD, 06, 1B, 08, 27, 0A, 8E, 0D, 5A, 14, BB, 28, 00, 3C, BB, 28, 5A, 14, 8E, 0D, 27, 0A, 1B, 08, BD, 06, C3, 05, 06, 05, 74, 04, FE, 03, 9D, 03, 4B, 03, 06, 03, CB, 02, 97, 02, 6A, 02, 41, 02, 1D, 02, FC, 01, DE, 01, C3, 01, AB, 01, 94, 01, 7F, 01, 6B, 01, 59, 01, 48, 01, 37, 01, 28, 01, 1A, 01, 0C, 01, 00, 01, F3, 00, E8, 00, DC, 00, D2, 00, C7, 00, BD, 00, B4, 00, AB, 00, A2, 00, 99, 00, 91, 00, 88, 00, 80, 00, 79, 00, 71, 00, 6A, 00, 62, 00, 5B, 00, 54, 00, 4D, 00, 46, 00, 40, 00, 39, 00, 32, 00, 2C, 00, 25, 00, 1F, 00, 19, 00, 12, 00, 0C, 00, 06, 00, 00, 00 $91CAD6 08 PHP $91CAD7 8B PHB $91CAD8 4B PHK $91CAD9 AB PLB $91CADA C2 30 REP #$30 $91CADC AD 78 0A LDA $0A78 [$7E:0A78] $91CADF D0 15 BNE $15 [$CAF6] $91CAE1 A5 8B LDA $8B [$7E:008B] $91CAE3 2C B6 09 BIT $09B6 [$7E:09B6] $91CAE6 F0 0E BEQ $0E [$CAF6] $91CAE8 22 6D E1 91 JSL $91E16D[$91:E16D] $91CAEC 90 08 BCC $08 [$CAF6] $91CAEE 22 35 84 88 JSL $888435[$88:8435] $91CAF2 db 41, 28, 23, D2 $91CAF6 AB PLB $91CAF7 28 PLP $91CAF8 6B RTL $91CAF9 08 PHP $91CAFA E2 30 SEP #$30 $91CAFC A9 01 LDA #$01 $91CAFE 8D 78 0A STA $0A78 [$7E:0A78] $91CB01 A5 B5 LDA $B5 [$7E:00B5] $91CB03 9D 14 19 STA $1914,x[$7E:1918] $91CB06 A5 B6 LDA $B6 [$7E:00B6] $91CB08 9D 15 19 STA $1915,x[$7E:1919] $91CB0B A5 B7 LDA $B7 [$7E:00B7] $91CB0D 9D 20 19 STA $1920,x[$7E:1924] $91CB10 A5 B8 LDA $B8 [$7E:00B8] $91CB12 9D 21 19 STA $1921,x[$7E:1925] $91CB15 A5 59 LDA $59 [$7E:0059] $91CB17 9D 2C 19 STA $192C,x[$7E:1930] $91CB1A 28 PLP $91CB1B 6B RTL $91CB1C 08 PHP $91CB1D C2 30 REP #$30 $91CB1F AE 60 03 LDX $0360 [$7E:0360] $91CB22 A5 58 LDA $58 [$7E:0058] $91CB24 29 FC 00 AND #$00FC $91CB27 EB XBA $91CB28 18 CLC $91CB29 69 00 04 ADC #$0400 $91CB2C 9D 40 03 STA $0340,x[$7E:0340] $91CB2F A9 81 00 LDA #$0081 $91CB32 9D 42 03 STA $0342,x[$7E:0342] $91CB35 A9 39 00 LDA #$0039 $91CB38 9D 43 03 STA $0343,x[$7E:0343] $91CB3B A9 00 68 LDA #$6800 $91CB3E 9D 44 03 STA $0344,x[$7E:0344] $91CB41 A9 7E 00 LDA #$007E $91CB44 9D 46 03 STA $0346,x[$7E:0346] $91CB47 A9 00 08 LDA #$0800 $91CB4A 9D 47 03 STA $0347,x[$7E:0347] $91CB4D 8A TXA $91CB4E 18 CLC $91CB4F 69 09 00 ADC #$0009 $91CB52 8D 60 03 STA $0360 [$7E:0360] $91CB55 28 PLP $91CB56 6B RTL $91CB57 08 PHP $91CB58 C2 30 REP #$30 $91CB5A AE 60 03 LDX $0360 [$7E:0360] $91CB5D A5 58 LDA $58 [$7E:0058] $91CB5F 29 FC 00 AND #$00FC $91CB62 EB XBA $91CB63 9D 40 03 STA $0340,x[$7E:0340] $91CB66 A9 81 00 LDA #$0081 $91CB69 9D 42 03 STA $0342,x[$7E:0342] $91CB6C A9 39 00 LDA #$0039 $91CB6F 9D 43 03 STA $0343,x[$7E:0343] $91CB72 A9 00 60 LDA #$6000 $91CB75 9D 44 03 STA $0344,x[$7E:0344] $91CB78 A9 7E 00 LDA #$007E $91CB7B 9D 46 03 STA $0346,x[$7E:0346] $91CB7E A9 00 08 LDA #$0800 $91CB81 9D 47 03 STA $0347,x[$7E:0347] $91CB84 8A TXA $91CB85 18 CLC $91CB86 69 09 00 ADC #$0009 $91CB89 8D 60 03 STA $0360 [$7E:0360] $91CB8C 28 PLP $91CB8D 6B RTL $91CB8E 08 PHP $91CB8F C2 30 REP #$30 $91CB91 AD 1F 09 LDA $091F [$7E:091F] $91CB94 18 CLC $91CB95 6D 15 09 ADC $0915 [$7E:0915] $91CB98 29 F0 00 AND #$00F0 $91CB9B 0A ASL A $91CB9C 0A ASL A $91CB9D 85 18 STA $18 [$7E:0018] $91CB9F AD 1D 09 LDA $091D [$7E:091D] $91CBA2 18 CLC $91CBA3 6D 11 09 ADC $0911 [$7E:0911] $91CBA6 29 F0 00 AND #$00F0 $91CBA9 4A LSR A $91CBAA 4A LSR A $91CBAB 4A LSR A $91CBAC 18 CLC $91CBAD 65 18 ADC $18 [$7E:0018] $91CBAF 85 18 STA $18 [$7E:0018] $91CBB1 AD 1D 09 LDA $091D [$7E:091D] $91CBB4 18 CLC $91CBB5 6D 11 09 ADC $0911 [$7E:0911] $91CBB8 29 00 01 AND #$0100 $91CBBB 0A ASL A $91CBBC 0A ASL A $91CBBD 18 CLC $91CBBE 65 18 ADC $18 [$7E:0018] $91CBC0 85 18 STA $18 [$7E:0018] $91CBC2 64 16 STZ $16 [$7E:0016] $91CBC4 A9 10 00 LDA #$0010 $91CBC7 85 14 STA $14 [$7E:0014] $91CBC9 A9 10 00 LDA #$0010 $91CBCC 85 12 STA $12 [$7E:0012] $91CBCE A5 18 LDA $18 [$7E:0018] $91CBD0 29 E0 07 AND #$07E0 $91CBD3 85 1A STA $1A [$7E:001A] $91CBD5 A5 18 LDA $18 [$7E:0018] $91CBD7 29 1F 00 AND #$001F $91CBDA 85 1C STA $1C [$7E:001C] $91CBDC 64 1E STZ $1E [$7E:001E] $91CBDE A5 1C LDA $1C [$7E:001C] $91CBE0 18 CLC $91CBE1 65 1E ADC $1E [$7E:001E] $91CBE3 C9 20 00 CMP #$0020 $91CBE6 30 12 BMI $12 [$CBFA] $91CBE8 A5 1A LDA $1A [$7E:001A] $91CBEA 18 CLC $91CBEB 69 00 04 ADC #$0400 $91CBEE 29 E0 07 AND #$07E0 $91CBF1 85 1A STA $1A [$7E:001A] $91CBF3 A9 00 00 LDA #$0000 $91CBF6 85 1C STA $1C [$7E:001C] $91CBF8 85 1E STA $1E [$7E:001E] $91CBFA A5 1A LDA $1A [$7E:001A] $91CBFC 18 CLC $91CBFD 65 1C ADC $1C [$7E:001C] $91CBFF 65 1E ADC $1E [$7E:001E] $91CC01 0A ASL A $91CC02 AA TAX $91CC03 BF 00 60 7E LDA $7E6000,x[$7E:650C] $91CC07 48 PHA $91CC08 BF 02 60 7E LDA $7E6002,x[$7E:650E] $91CC0C 48 PHA $91CC0D BF 40 60 7E LDA $7E6040,x[$7E:654C] $91CC11 48 PHA $91CC12 BF 42 60 7E LDA $7E6042,x[$7E:654E] $91CC16 A6 16 LDX $16 [$7E:0016] $91CC18 9F 42 40 7E STA $7E4042,x[$7E:4042] $91CC1C 68 PLA $91CC1D 9F 40 40 7E STA $7E4040,x[$7E:4040] $91CC21 68 PLA $91CC22 9F 02 40 7E STA $7E4002,x[$7E:4002] $91CC26 68 PLA $91CC27 9F 00 40 7E STA $7E4000,x[$7E:4000] $91CC2B A5 16 LDA $16 [$7E:0016] $91CC2D 18 CLC $91CC2E 69 04 00 ADC #$0004 $91CC31 85 16 STA $16 [$7E:0016] $91CC33 A5 1E LDA $1E [$7E:001E] $91CC35 69 02 00 ADC #$0002 $91CC38 85 1E STA $1E [$7E:001E] $91CC3A C6 12 DEC $12 [$7E:0012] $91CC3C D0 A0 BNE $A0 [$CBDE] $91CC3E 20 F1 CC JSR $CCF1 [$91:CCF1] $91CC41 A5 18 LDA $18 [$7E:0018] $91CC43 29 00 04 AND #$0400 $91CC46 85 20 STA $20 [$7E:0020] $91CC48 A5 18 LDA $18 [$7E:0018] $91CC4A 18 CLC $91CC4B 69 40 00 ADC #$0040 $91CC4E 29 FF 03 AND #$03FF $91CC51 18 CLC $91CC52 65 20 ADC $20 [$7E:0020] $91CC54 85 18 STA $18 [$7E:0018] $91CC56 A5 16 LDA $16 [$7E:0016] $91CC58 18 CLC $91CC59 69 40 00 ADC #$0040 $91CC5C 85 16 STA $16 [$7E:0016] $91CC5E C6 14 DEC $14 [$7E:0014] $91CC60 F0 03 BEQ $03 [$CC65] $91CC62 4C C9 CB JMP $CBC9 [$91:CBC9] $91CC65 AD 15 09 LDA $0915 [$7E:0915] $91CC68 4A LSR A $91CC69 4A LSR A $91CC6A 4A LSR A $91CC6B 4A LSR A $91CC6C EB XBA $91CC6D 0D A5 07 ORA $07A5 [$7E:07A5] $91CC70 8D 02 42 STA $4202 [$7E:4202] $91CC73 AD 11 09 LDA $0911 [$7E:0911] $91CC76 4A LSR A $91CC77 4A LSR A $91CC78 4A LSR A $91CC79 4A LSR A $91CC7A 18 CLC $91CC7B 6D 16 42 ADC $4216 [$7E:4216] $91CC7E 85 22 STA $22 [$7E:0022] $91CC80 64 16 STZ $16 [$7E:0016] $91CC82 A9 10 00 LDA #$0010 $91CC85 85 14 STA $14 [$7E:0014] $91CC87 20 42 CD JSR $CD42 [$91:CD42] $91CC8A A9 10 00 LDA #$0010 $91CC8D 85 12 STA $12 [$7E:0012] $91CC8F A5 22 LDA $22 [$7E:0022] $91CC91 85 24 STA $24 [$7E:0024] $91CC93 20 BE CD JSR $CDBE [$91:CDBE] $91CC96 C6 12 DEC $12 [$7E:0012] $91CC98 D0 F9 BNE $F9 [$CC93] $91CC9A A5 16 LDA $16 [$7E:0016] $91CC9C 48 PHA $91CC9D 18 CLC $91CC9E 69 C0 07 ADC #$07C0 $91CCA1 85 16 STA $16 [$7E:0016] $91CCA3 20 BE CD JSR $CDBE [$91:CDBE] $91CCA6 68 PLA $91CCA7 18 CLC $91CCA8 69 40 00 ADC #$0040 $91CCAB 85 16 STA $16 [$7E:0016] $91CCAD A5 22 LDA $22 [$7E:0022] $91CCAF 18 CLC $91CCB0 6D A5 07 ADC $07A5 [$7E:07A5] $91CCB3 85 22 STA $22 [$7E:0022] $91CCB5 C6 14 DEC $14 [$7E:0014] $91CCB7 D0 CE BNE $CE [$CC87] $91CCB9 22 1A 83 84 JSL $84831A[$84:831A] $91CCBD AE 60 03 LDX $0360 [$7E:0360] $91CCC0 A5 59 LDA $59 [$7E:0059] $91CCC2 29 FC 00 AND #$00FC $91CCC5 EB XBA $91CCC6 9D 40 03 STA $0340,x[$7E:0340] $91CCC9 A9 81 00 LDA #$0081 $91CCCC 9D 42 03 STA $0342,x[$7E:0342] $91CCCF A9 39 00 LDA #$0039 $91CCD2 9D 43 03 STA $0343,x[$7E:0343] $91CCD5 A9 00 50 LDA #$5000 $91CCD8 9D 44 03 STA $0344,x[$7E:0344] $91CCDB A9 7E 00 LDA #$007E $91CCDE 9D 46 03 STA $0346,x[$7E:0346] $91CCE1 A9 00 08 LDA #$0800 $91CCE4 9D 47 03 STA $0347,x[$7E:0347] $91CCE7 8A TXA $91CCE8 18 CLC $91CCE9 69 09 00 ADC #$0009 $91CCEC 8D 60 03 STA $0360 [$7E:0360] $91CCEF 28 PLP $91CCF0 6B RTL $91CCF1 A5 1A LDA $1A [$7E:001A] $91CCF3 85 20 STA $20 [$7E:0020] $91CCF5 A5 1C LDA $1C [$7E:001C] $91CCF7 18 CLC $91CCF8 65 1E ADC $1E [$7E:001E] $91CCFA C9 20 00 CMP #$0020 $91CCFD 30 0E BMI $0E [$CD0D] $91CCFF A5 20 LDA $20 [$7E:0020] $91CD01 18 CLC $91CD02 69 00 04 ADC #$0400 $91CD05 29 E0 07 AND #$07E0 $91CD08 85 20 STA $20 [$7E:0020] $91CD0A A9 00 00 LDA #$0000 $91CD0D 18 CLC $91CD0E 65 20 ADC $20 [$7E:0020] $91CD10 0A ASL A $91CD11 AA TAX $91CD12 BF 00 60 7E LDA $7E6000,x[$7E:6D0C] $91CD16 48 PHA $91CD17 BF 02 60 7E LDA $7E6002,x[$7E:6D0E] $91CD1B 48 PHA $91CD1C BF 40 60 7E LDA $7E6040,x[$7E:6D4C] $91CD20 48 PHA $91CD21 BF 42 60 7E LDA $7E6042,x[$7E:6D4E] $91CD25 48 PHA $91CD26 A5 16 LDA $16 [$7E:0016] $91CD28 18 CLC $91CD29 69 C0 07 ADC #$07C0 $91CD2C AA TAX $91CD2D 68 PLA $91CD2E 9F 42 40 7E STA $7E4042,x[$7E:4842] $91CD32 68 PLA $91CD33 9F 40 40 7E STA $7E4040,x[$7E:4840] $91CD37 68 PLA $91CD38 9F 02 40 7E STA $7E4002,x[$7E:4802] $91CD3C 68 PLA $91CD3D 9F 00 40 7E STA $7E4000,x[$7E:4800] $91CD41 60 RTS $91CD42 A6 22 LDX $22 [$7E:0022] $91CD44 CA DEX $91CD45 20 D6 CD JSR $CDD6 [$91:CDD6] $91CD48 C9 4E CF CMP #$CF4E $91CD4B F0 3C BEQ $3C [$CD89] $91CD4D C9 6F CF CMP #$CF6F $91CD50 F0 01 BEQ $01 [$CD53] $91CD52 60 RTS $91CDBE A6 24 LDX $24 [$7E:0024] $91CDC0 20 D6 CD JSR $CDD6 [$91:CDD6] $91CDC3 C9 FF FF CMP #$FFFF $91CDC6 F0 03 BEQ $03 [$CDCB] $91CDC8 6C 00 00 JMP ($0000)[$91:CF36] $91CDCB A5 16 LDA $16 [$7E:0016] $91CDCD 18 CLC $91CDCE 69 04 00 ADC #$0004 $91CDD1 85 16 STA $16 [$7E:0016] $91CDD3 E6 24 INC $24 [$7E:0024] $91CDD5 60 RTS $91CDD6 BF 02 64 7F LDA $7F6402,x[$7F:7104] $91CDDA 29 FF 00 AND #$00FF $91CDDD 85 26 STA $26 [$7E:0026] $91CDDF 8A TXA $91CDE0 0A ASL A $91CDE1 AA TAX $91CDE2 BF 02 00 7F LDA $7F0002,x[$7F:1A06] $91CDE6 29 00 F0 AND #$F000 $91CDE9 85 28 STA $28 [$7E:0028] $91CDEB A2 00 00 LDX #$0000 $91CDEE BD D6 D2 LDA $D2D6,x[$91:D2D6] $91CDF1 C9 FF FF CMP #$FFFF $91CDF4 F0 35 BEQ $35 [$CE2B] $91CDF6 C5 28 CMP $28 [$7E:0028] $91CDF8 F0 06 BEQ $06 [$CE00] $91CDFA E8 INX $91CDFB E8 INX $91CDFC E8 INX $91CDFD E8 INX $91CDFE 80 EE BRA $EE [$CDEE] $91CE00 BD D8 D2 LDA $D2D8,x[$91:D2D8] $91CE03 85 00 STA $00 [$7E:0000] $91CE05 A0 00 00 LDY #$0000 $91CE08 B1 00 LDA ($00),y[$91:D2FC] $91CE0A C9 FF FF CMP #$FFFF $91CE0D F0 1C BEQ $1C [$CE2B] $91CE0F C9 00 FF CMP #$FF00 $91CE12 F0 0A BEQ $0A [$CE1E] $91CE14 C5 26 CMP $26 [$7E:0026] $91CE16 F0 06 BEQ $06 [$CE1E] $91CE18 C8 INY $91CE19 C8 INY $91CE1A C8 INY $91CE1B C8 INY $91CE1C 80 EA BRA $EA [$CE08] $91CE1E C8 INY $91CE1F C8 INY $91CE20 B1 00 LDA ($00),y[$91:D2FE] $91CE22 85 03 STA $03 [$7E:0003] $91CE24 A0 00 00 LDY #$0000 $91CE27 B1 03 LDA ($03),y[$91:D302] $91CE29 85 00 STA $00 [$7E:0000] $91CE2B 60 RTS $91CE2C E2 20 SEP #$20 $91CE2E A5 24 LDA $24 [$7E:0024] $91CE30 8D 04 42 STA $4204 [$7E:4204] $91CE33 A5 25 LDA $25 [$7E:0025] $91CE35 8D 05 42 STA $4205 [$7E:4205] $91CE38 AD A5 07 LDA $07A5 [$7E:07A5] $91CE3B 8D 06 42 STA $4206 [$7E:4206] $91CE3E C2 20 REP #$20 $91CE40 EA NOP $91CE41 EA NOP $91CE42 EA NOP $91CE43 EA NOP $91CE44 EA NOP $91CE45 EA NOP $91CE46 AD 14 42 LDA $4214 [$7E:4214] $91CE49 85 2C STA $2C [$7E:002C] $91CE4B AD 16 42 LDA $4216 [$7E:4216] $91CE4E 85 2A STA $2A [$7E:002A] $91CE50 60 RTS $91CE51 A5 2C LDA $2C [$7E:002C] $91CE53 EB XBA $91CE54 0D A5 07 ORA $07A5 [$7E:07A5] $91CE57 8D 02 42 STA $4202 [$7E:4202] $91CE5A EA NOP $91CE5B EA NOP $91CE5C A5 2A LDA $2A [$7E:002A] $91CE5E 18 CLC $91CE5F 6D 16 42 ADC $4216 [$7E:4216] $91CE62 AA TAX $91CE63 BF 02 64 7F LDA $7F6402,x[$7F:6671] $91CE67 29 FF 00 AND #$00FF $91CE6A 85 2E STA $2E [$7E:002E] $91CE6C 8A TXA $91CE6D 0A ASL A $91CE6E AA TAX $91CE6F BF 02 00 7F LDA $7F0002,x[$7F:04E0] $91CE73 29 00 F0 AND #$F000 $91CE76 85 30 STA $30 [$7E:0030] $91CE78 60 RTS $91CE79 20 2C CE JSR $CE2C [$91:CE2C] $91CE7C A5 28 LDA $28 [$7E:0028] $91CE7E 85 30 STA $30 [$7E:0030] $91CE80 A5 26 LDA $26 [$7E:0026] $91CE82 F0 79 BEQ $79 [$CEFD] $91CE84 89 80 00 BIT #$0080 $91CE87 F0 03 BEQ $03 [$CE8C] $91CE89 09 00 FF ORA #$FF00 $91CE8C 85 2E STA $2E [$7E:002E] $91CE8E A5 2C LDA $2C [$7E:002C] $91CE90 18 CLC $91CE91 65 2E ADC $2E [$7E:002E] $91CE93 10 09 BPL $09 [$CE9E] $91CE9E 85 2C STA $2C [$7E:002C] $91CEA0 20 51 CE JSR $CE51 [$91:CE51] $91CEA3 C9 00 D0 CMP #$D000 $91CEA6 F0 E6 BEQ $E6 [$CE8E] $91CEA8 C9 00 50 CMP #$5000 $91CEAB D0 50 BNE $50 [$CEFD] $91CEBB 20 2C CE JSR $CE2C [$91:CE2C] $91CEBE A5 28 LDA $28 [$7E:0028] $91CEC0 85 30 STA $30 [$7E:0030] $91CEC2 A5 26 LDA $26 [$7E:0026] $91CEC4 F0 37 BEQ $37 [$CEFD] $91CEC6 89 80 00 BIT #$0080 $91CEC9 F0 03 BEQ $03 [$CECE] $91CECB 09 00 FF ORA #$FF00 $91CECE 85 2E STA $2E [$7E:002E] $91CED0 A5 2A LDA $2A [$7E:002A] $91CED2 18 CLC $91CED3 65 2E ADC $2E [$7E:002E] $91CED5 10 09 BPL $09 [$CEE0] $91CEE0 85 2A STA $2A [$7E:002A] $91CEE2 20 51 CE JSR $CE51 [$91:CE51] $91CEE5 C9 00 D0 CMP #$D000 $91CEE8 F0 A4 BEQ $A4 [$CE8E] $91CEEA C9 00 50 CMP #$5000 $91CEED D0 0E BNE $0E [$CEFD] $91CEFD AD DA D2 LDA $D2DA [$91:D2DA] $91CF00 C5 30 CMP $30 [$7E:0030] $91CF02 D0 2F BNE $2F [$CF33] $91CF33 4C CB CD JMP $CDCB [$91:CDCB] $91CF36 C8 INY $91CF37 C8 INY $91CF38 20 BF CF JSR $CFBF [$91:CFBF] $91CF3B 4C CB CD JMP $CDCB [$91:CDCB] $91CF4E C8 INY $91CF4F C8 INY $91CF50 20 BF CF JSR $CFBF [$91:CFBF] $91CF53 A5 12 LDA $12 [$7E:0012] $91CF55 C9 01 00 CMP #$0001 $91CF58 F0 05 BEQ $05 [$CF5F] $91CF5A C8 INY $91CF5B C8 INY $91CF5C 20 EE CF JSR $CFEE [$91:CFEE] $91CF5F 4C CB CD JMP $CDCB [$91:CDCB] $91CF62 C8 INY $91CF63 C8 INY $91CF64 20 BF CF JSR $CFBF [$91:CFBF] $91CF67 C8 INY $91CF68 C8 INY $91CF69 20 1D D0 JSR $D01D [$91:D01D] $91CF6C 4C CB CD JMP $CDCB [$91:CDCB] ;;; ;;; $91CFBF B1 03 LDA ($03),y[$91:D304] $91CFC1 0A ASL A $91CFC2 0A ASL A $91CFC3 0A ASL A $91CFC4 AA TAX $91CFC5 BF 00 A0 7E LDA $7EA000,x[$7E:A7F8] $91CFC9 48 PHA $91CFCA BF 02 A0 7E LDA $7EA002,x[$7E:A7FA] $91CFCE 48 PHA $91CFCF BF 04 A0 7E LDA $7EA004,x[$7E:A7FC] $91CFD3 48 PHA $91CFD4 BF 06 A0 7E LDA $7EA006,x[$7E:A7FE] $91CFD8 A6 16 LDX $16 [$7E:0016] $91CFDA 9F 42 40 7E STA $7E4042,x[$7E:4042] $91CFDE 68 PLA $91CFDF 9F 40 40 7E STA $7E4040,x[$7E:4040] $91CFE3 68 PLA $91CFE4 9F 02 40 7E STA $7E4002,x[$7E:4002] $91CFE8 68 PLA $91CFE9 9F 00 40 7E STA $7E4000,x[$7E:4000] $91CFED 60 RTS ;;; ;;; $91CFEE B1 03 LDA ($03),y[$91:D4AE] $91CFF0 0A ASL A $91CFF1 0A ASL A $91CFF2 0A ASL A $91CFF3 AA TAX $91CFF4 BF 00 A0 7E LDA $7EA000,x[$7E:A2C0] $91CFF8 48 PHA $91CFF9 BF 02 A0 7E LDA $7EA002,x[$7E:A2C2] $91CFFD 48 PHA $91CFFE BF 04 A0 7E LDA $7EA004,x[$7E:A2C4] $91D002 48 PHA $91D003 BF 06 A0 7E LDA $7EA006,x[$7E:A2C6] $91D007 A6 16 LDX $16 [$7E:0016] $91D009 9F 46 40 7E STA $7E4046,x[$7E:4F46] $91D00D 68 PLA $91D00E 9F 44 40 7E STA $7E4044,x[$7E:4F44] $91D012 68 PLA $91D013 9F 06 40 7E STA $7E4006,x[$7E:4F06] $91D017 68 PLA $91D018 9F 04 40 7E STA $7E4004,x[$7E:4F04] $91D01C 60 RTS ;;; ;;; $91D01D B1 03 LDA ($03),y[$91:D382] $91D01F 0A ASL A $91D020 0A ASL A $91D021 0A ASL A $91D022 AA TAX $91D023 BF 00 A0 7E LDA $7EA000,x[$7E:A5E0] $91D027 48 PHA $91D028 BF 02 A0 7E LDA $7EA002,x[$7E:A5E2] $91D02C 48 PHA $91D02D BF 04 A0 7E LDA $7EA004,x[$7E:A5E4] $91D031 48 PHA $91D032 BF 06 A0 7E LDA $7EA006,x[$7E:A5E6] $91D036 A6 16 LDX $16 [$7E:0016] $91D038 9F C2 40 7E STA $7E40C2,x[$7E:4C42] $91D03C 68 PLA $91D03D 9F C0 40 7E STA $7E40C0,x[$7E:4C40] $91D041 68 PLA $91D042 9F 82 40 7E STA $7E4082,x[$7E:4C02] $91D046 68 PLA $91D047 9F 80 40 7E STA $7E4080,x[$7E:4C00] $91D04B 60 RTS ;;; ;;; $91D04C 08 PHP $91D04D DA PHX $91D04E 5A PHY $91D04F C2 30 REP #$30 $91D051 85 28 STA $28 [$7E:0028] $91D053 AD 11 09 LDA $0911 [$7E:0911] $91D056 4A LSR A $91D057 4A LSR A $91D058 4A LSR A $91D059 4A LSR A $91D05A 85 18 STA $18 [$7E:0018] $91D05C 8A TXA $91D05D 38 SEC $91D05E E5 18 SBC $18 [$7E:0018] $91D060 30 40 BMI $40 [$D0A2] $91D062 85 18 STA $18 [$7E:0018] $91D064 E9 10 00 SBC #$0010 $91D067 10 39 BPL $39 [$D0A2] $91D0A2 7A PLY $91D0A3 FA PLX $91D0A4 28 PLP $91D0A5 6B RTL $91D0D3 08 PHP $91D0D4 C2 30 REP #$30 $91D0D6 22 43 D1 91 JSL $91D143[$91:D143] $91D0DA F0 2D BEQ $2D [$D109] $91D0DC AD 40 18 LDA $1840 [$7E:1840] $91D0DF F0 12 BEQ $12 [$D0F3] $91D0F3 A5 B1 LDA $B1 [$7E:00B1] $91D0F5 29 0F 00 AND #$000F $91D0F8 85 B5 STA $B5 [$7E:00B5] $91D0FA A5 B3 LDA $B3 [$7E:00B3] $91D0FC 29 0F 00 AND #$000F $91D0FF 85 B7 STA $B7 [$7E:00B7] $91D101 E2 20 SEP #$20 $91D103 A9 49 LDA #$49 $91D105 85 59 STA $59 [$7E:0059] $91D107 C2 20 REP #$20 $91D109 AE 60 03 LDX $0360 [$7E:0360] $91D10C A5 59 LDA $59 [$7E:0059] $91D10E 29 FC 00 AND #$00FC $91D111 EB XBA $91D112 18 CLC $91D113 69 00 04 ADC #$0400 $91D116 9D 40 03 STA $0340,x[$7E:0340] $91D119 A9 81 00 LDA #$0081 $91D11C 9D 42 03 STA $0342,x[$7E:0342] $91D11F A9 39 00 LDA #$0039 $91D122 9D 43 03 STA $0343,x[$7E:0343] $91D125 A9 00 58 LDA #$5800 $91D128 9D 44 03 STA $0344,x[$7E:0344] $91D12B A9 7E 00 LDA #$007E $91D12E 9D 46 03 STA $0346,x[$7E:0346] $91D131 A9 00 08 LDA #$0800 $91D134 9D 47 03 STA $0347,x[$7E:0347] $91D137 8A TXA $91D138 18 CLC $91D139 69 09 00 ADC #$0009 $91D13C 8D 60 03 STA $0360 [$7E:0360] $91D13F 28 PLP $91D140 6B RTL $91D143 AD 9B 07 LDA $079B [$7E:079B] $91D146 C9 6A A6 CMP #$A66A $91D149 F0 27 BEQ $27 [$D172] $91D14B C9 FB CE CMP #$CEFB $91D14E F0 22 BEQ $22 [$D172] $91D150 AD 6E 19 LDA $196E [$7E:196E] $91D153 C9 24 00 CMP #$0024 $91D156 F0 1A BEQ $1A [$D172] $91D158 AD 9C 17 LDA $179C [$7E:179C] $91D15B C9 03 00 CMP #$0003 $91D15E F0 12 BEQ $12 [$D172] $91D160 C9 06 00 CMP #$0006 $91D163 F0 0D BEQ $0D [$D172] $91D165 C9 07 00 CMP #$0007 $91D168 F0 08 BEQ $08 [$D172] $91D16A C9 08 00 CMP #$0008 $91D16D F0 03 BEQ $03 [$D172] $91D16F C9 0A 00 CMP #$000A $91D172 6B RTL $91D173 08 PHP $91D174 C2 30 REP #$30 $91D176 22 43 D1 91 JSL $91D143[$91:D143] $91D17A F0 22 BEQ $22 [$D19E] $91D17C AE 30 03 LDX $0330 [$7E:0330] $91D17F A9 00 08 LDA #$0800 $91D182 95 D0 STA $D0,x [$7E:00D0] $91D184 A9 00 40 LDA #$4000 $91D187 95 D2 STA $D2,x [$7E:00D2] $91D189 A9 7E 00 LDA #$007E $91D18C 95 D4 STA $D4,x [$7E:00D4] $91D18E A5 59 LDA $59 [$7E:0059] $91D190 29 FC 00 AND #$00FC $91D193 EB XBA $91D194 95 D5 STA $D5,x [$7E:00D5] $91D196 8A TXA $91D197 18 CLC $91D198 69 07 00 ADC #$0007 $91D19B 8D 30 03 STA $0330 [$7E:0330] $91D19E 28 PLP $91D19F 6B RTL $91D1A0 08 PHP $91D1A1 C2 30 REP #$30 $91D1A3 22 43 D1 91 JSL $91D143[$91:D143] $91D1A7 F0 26 BEQ $26 [$D1CF] $91D1A9 AE 30 03 LDX $0330 [$7E:0330] $91D1AC A9 00 08 LDA #$0800 $91D1AF 95 D0 STA $D0,x [$7E:00D0] $91D1B1 A9 00 48 LDA #$4800 $91D1B4 95 D2 STA $D2,x [$7E:00D2] $91D1B6 A9 7E 00 LDA #$007E $91D1B9 95 D4 STA $D4,x [$7E:00D4] $91D1BB A5 59 LDA $59 [$7E:0059] $91D1BD 29 FC 00 AND #$00FC $91D1C0 EB XBA $91D1C1 18 CLC $91D1C2 69 00 04 ADC #$0400 $91D1C5 95 D5 STA $D5,x [$7E:00D5] $91D1C7 8A TXA $91D1C8 18 CLC $91D1C9 69 07 00 ADC #$0007 $91D1CC 8D 30 03 STA $0330 [$7E:0330] $91D1CF A9 E4 00 LDA #$00E4 $91D1D2 8D 88 0A STA $0A88 [$7E:0A88] $91D1D5 A9 00 98 LDA #$9800 $91D1D8 8D 89 0A STA $0A89 [$7E:0A89] $91D1DB A9 E4 00 LDA #$00E4 $91D1DE 8D 8B 0A STA $0A8B [$7E:0A8B] $91D1E1 A9 C8 98 LDA #$98C8 $91D1E4 8D 8C 0A STA $0A8C [$7E:0A8C] $91D1E7 A9 98 00 LDA #$0098 $91D1EA 8D 8E 0A STA $0A8E [$7E:0A8E] $91D1ED A9 90 99 LDA #$9990 $91D1F0 8D 8F 0A STA $0A8F [$7E:0A8F] $91D1F3 9C 91 0A STZ $0A91 [$7E:0A91] $91D1F6 9C 7A 0A STZ $0A7A [$7E:0A7A] $91D1F9 9C 7C 0A STZ $0A7C [$7E:0A7C] $91D1FC 9C 7E 0A STZ $0A7E [$7E:0A7E] $91D1FF A9 00 00 LDA #$0000 $91D202 8D 84 0A STA $0A84 [$7E:0A84] $91D205 9C 86 0A STZ $0A86 [$7E:0A86] $91D208 AD 1E 0A LDA $0A1E [$7E:0A1E] $91D20B 29 FF 00 AND #$00FF $91D20E C9 04 00 CMP #$0004 $91D211 F0 08 BEQ $08 [$D21B] $91D213 A9 40 00 LDA #$0040 $91D216 8D 82 0A STA $0A82 [$7E:0A82] $91D219 80 06 BRA $06 [$D221] $91D21B A9 C0 00 LDA #$00C0 $91D21E 8D 82 0A STA $0A82 [$7E:0A82] $91D221 28 PLP $91D222 6B RTL $91D223 db 55, 86, 00, 6A, 86, 7E, 70, 85, 7F, D2, 91, B4, 85, F9, CA, 91, 01, 00, 88, 0A, B4, 85, 1C, CB, 91, 01, 00, 88, 0A, B4, 85, 57, CB, 91, 01, 00, 88, 0A, B4, 85, 8E, CB, 91, 01, 00, 88, 0A, B4, 85, D3, D0, 91, 01, 00, 88, 0A, B4, 85, 73, D1, 91, 01, 00, 88, 0A, B4, 85, A0, D1, 91, 01, 00, 88, 0A, B4, 85, BC, D2, 91, 70, 85, EF, 86, 88, 01, 00, 88, 0A, EC, 85, 77, D2 $91D27F 08 PHP $91D280 C2 30 REP #$30 $91D282 DA PHX $91D283 A2 00 10 LDX #$1000 $91D286 AD 6E 19 LDA $196E [$7E:196E] $91D289 C9 24 00 CMP #$0024 $91D28C F0 22 BEQ $22 [$D2B0] $91D28E A2 00 20 LDX #$2000 $91D291 22 43 D1 91 JSL $91D143[$91:D143] $91D295 F0 12 BEQ $12 [$D2A9] $91D297 A2 00 40 LDX #$4000 $91D29A A9 27 00 LDA #$0027 $91D29D 85 74 STA $74 [$7E:0074] $91D29F A9 47 00 LDA #$0047 $91D2A2 85 75 STA $75 [$7E:0075] $91D2A4 A9 87 00 LDA #$0087 $91D2A7 85 76 STA $76 [$7E:0076] $91D2A9 8A TXA $91D2AA 0C 86 19 TSB $1986 [$7E:1986] $91D2AD FA PLX $91D2AE 28 PLP $91D2AF 6B RTL $91D2BC 08 PHP $91D2BD DA PHX $91D2BE 5A PHY $91D2BF E2 20 SEP #$20 $91D2C1 A9 63 LDA #$63 $91D2C3 8F 00 C0 7E STA $7EC000[$7E:C000] $91D2C7 A9 0C LDA #$0C $91D2C9 8F 01 C0 7E STA $7EC001[$7E:C001] $91D2CD 7A PLY $91D2CE FA PLX $91D2CF 28 PLP $91D2D0 6B RTL $91D2D6 db 00, 00, FC, D2, 00, 30, 06, D3, 00, 50, 10, D3, 00, A0 $91D2E6 db 00, B0, 22, D3, 00, C0, CC, D3, 00, D0, 62, D4, 00, E0 $91D2F6 db 00, F0, 84, D4, FF, FF, 00, FF, 02, D3 $91D302 db 36, CF, FF, 00, 46, 00, 0C, D3, FF, FF, 36, CF, FF, 00, 00, FF, 16, D3 $91D316 db BB, CE $91D322 db 00, 00, 74, D3, 01, 00 $91D32A db 02, 00, 7E, D3, 03, 00 $91D332 db 04, 00, 8E, D3, 05, 00, 92, D3 $91D374 db 36, CF, BC, 00 $91D37E db 62, CF, BC, 00, BC, 00 $91D38E db 36, CF, BC, 00, 4E, CF, BC, 00, BC, 00 $91D3CC db 00, 00 $91D3D0 db 01, 00 $91D3D4 db 02, 00 $91D3D8 db 03, 00 $91D3DC db 04, 00, 28, D4, 05, 00 $91D3E4 db 06, 00 $91D3E8 db 07, 00 $91D3EC db 08, 00 $91D3F0 db 09, 00, 46, D4, 0A, 00, 4A, D4, 0B, 00 $91D3FC db 0C, 00 $91D400 db 0D, 00 $91D404 db 0E, 00 $91D408 db 0F, 00 $91D40C db FF, FF $91D428 db 36, CF, 52, 00 $91D446 db 36, CF, 57, 00, 36, CF, 9F, 00 $91D462 db 00, FF, 68, D4 $91D468 db 79, CE $91D484 db 00, 00, A6, D4, 01, 00, AA, D4 $91D4A6 db 36, CF, 58, 00, 4E, CF, 58, 00, 58, 00 ;;; Varia suit pick up ;;; $91D4E4 08 PHP $91D4E5 8B PHB $91D4E6 4B PHK $91D4E7 AB PLB $91D4E8 E2 30 SEP #$30 $91D4EA A9 30 LDA #$30 $91D4EC 8D F0 0D STA $0DF0 [$7E:0DF0] $91D4EF A9 50 LDA #$50 $91D4F1 8D F1 0D STA $0DF1 [$7E:0DF1] $91D4F4 A9 80 LDA #$80 $91D4F6 8D F2 0D STA $0DF2 [$7E:0DF2] $91D4F9 9C F3 0D STZ $0DF3 [$7E:0DF3] $91D4FC C2 30 REP #$30 $91D4FE 22 53 DE 91 JSL $91DE53[$91:DE53] $91D502 9C 42 0B STZ $0B42 [$7E:0B42] $91D505 9C 44 0B STZ $0B44 [$7E:0B44] $91D508 9C 46 0B STZ $0B46 [$7E:0B46] $91D50B 9C 48 0B STZ $0B48 [$7E:0B48] $91D50E 9C 2C 0B STZ $0B2C [$7E:0B2C] $91D511 9C 2E 0B STZ $0B2E [$7E:0B2E] $91D514 9C 36 0B STZ $0B36 [$7E:0B36] $91D517 9C 20 0B STZ $0B20 [$7E:0B20] $91D51A 9C 4A 0B STZ $0B4A [$7E:0B4A] $91D51D 9C 18 0E STZ $0E18 [$7E:0E18] $91D520 9C EC 0D STZ $0DEC [$7E:0DEC] $91D523 9C EE 0D STZ $0DEE [$7E:0DEE] $91D526 A9 00 01 LDA #$0100 $91D529 8D DC 0D STA $0DDC [$7E:0DDC] $91D52C A2 FE 01 LDX #$01FE $91D52F A9 FF 00 LDA #$00FF $91D532 9F 00 98 7E STA $7E9800,x[$7E:99FE] $91D536 CA DEX $91D537 CA DEX $91D538 10 F8 BPL $F8 [$D532] $91D53A AD 1F 0A LDA $0A1F [$7E:0A1F] $91D53D 29 FF 00 AND #$00FF $91D540 C9 03 00 CMP #$0003 $91D543 F0 05 BEQ $05 [$D54A] $91D545 C9 14 00 CMP #$0014 $91D548 D0 07 BNE $07 [$D551] $91D54A ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91D551 AD A2 09 LDA $09A2 [$7E:09A2] $91D554 89 20 00 BIT #$0020 $91D557 D0 08 BNE $08 [$D561] $91D559 A9 00 00 LDA #$0000 $91D55C 8D 1C 0A STA $0A1C [$7E:0A1C] $91D55F 80 06 BRA $06 [$D567] $91D561 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91D567 22 33 F4 91 JSL $91F433[$91:F433] $91D56B 22 08 FB 91 JSL $91FB08[$91:FB08] $91D56F A9 15 00 LDA #$0015 $91D572 22 84 F0 90 JSL $90F084[$90:F084] $91D576 AD 11 09 LDA $0911 [$7E:0911] $91D579 18 CLC $91D57A 69 78 00 ADC #$0078 $91D57D 8D F6 0A STA $0AF6 [$7E:0AF6] $91D580 8D 10 0B STA $0B10 [$7E:0B10] $91D583 AD 15 09 LDA $0915 [$7E:0915] $91D586 18 CLC $91D587 69 88 00 ADC #$0088 $91D58A 8D FA 0A STA $0AFA [$7E:0AFA] $91D58D 8D 14 0B STA $0B14 [$7E:0B14] $91D590 A9 56 00 LDA #$0056 $91D593 22 CB 90 80 JSL $8090CB[$80:90CB] $91D597 22 35 84 88 JSL $888435[$88:8435] $91D59B db 41, 26, A2, D5 $91D59F AB PLB $91D5A0 28 PLP $91D5A1 6B RTL $91D5A2 db 55, 86, 00, 6A, 86, 7E, B4, 85, 92, D6, 91, 01, 00, 88, 0A, 70, 85, 26, E0, 88, 82, 86, 69, 85 ;;; Gravity suit pick up ;;; $91D5BA 08 PHP $91D5BB 8B PHB $91D5BC 4B PHK $91D5BD AB PLB $91D5BE E2 30 SEP #$30 $91D5C0 A9 30 LDA #$30 $91D5C2 8D F0 0D STA $0DF0 [$7E:0DF0] $91D5C5 A9 49 LDA #$49 $91D5C7 8D F1 0D STA $0DF1 [$7E:0DF1] $91D5CA A9 90 LDA #$90 $91D5CC 8D F2 0D STA $0DF2 [$7E:0DF2] $91D5CF A9 01 LDA #$01 $91D5D1 8D F3 0D STA $0DF3 [$7E:0DF3] $91D5D4 C2 30 REP #$30 $91D5D6 22 53 DE 91 JSL $91DE53[$91:DE53] $91D5DA 9C 42 0B STZ $0B42 [$7E:0B42] $91D5DD 9C 44 0B STZ $0B44 [$7E:0B44] $91D5E0 9C 46 0B STZ $0B46 [$7E:0B46] $91D5E3 9C 48 0B STZ $0B48 [$7E:0B48] $91D5E6 9C 2C 0B STZ $0B2C [$7E:0B2C] $91D5E9 9C 2E 0B STZ $0B2E [$7E:0B2E] $91D5EC 9C 36 0B STZ $0B36 [$7E:0B36] $91D5EF 9C 20 0B STZ $0B20 [$7E:0B20] $91D5F2 9C 4A 0B STZ $0B4A [$7E:0B4A] $91D5F5 9C 18 0E STZ $0E18 [$7E:0E18] $91D5F8 9C EC 0D STZ $0DEC [$7E:0DEC] $91D5FB 9C EE 0D STZ $0DEE [$7E:0DEE] $91D5FE A9 00 01 LDA #$0100 $91D601 8D DC 0D STA $0DDC [$7E:0DDC] $91D604 A2 FE 01 LDX #$01FE $91D607 A9 FF 00 LDA #$00FF $91D60A 9F 00 98 7E STA $7E9800,x[$7E:99FE] $91D60E CA DEX $91D60F CA DEX $91D610 10 F8 BPL $F8 [$D60A] $91D612 AD 1F 0A LDA $0A1F [$7E:0A1F] $91D615 29 FF 00 AND #$00FF $91D618 C9 03 00 CMP #$0003 $91D61B F0 05 BEQ $05 [$D622] $91D61D C9 14 00 CMP #$0014 $91D620 D0 07 BNE $07 [$D629] $91D622 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91D629 AD A2 09 LDA $09A2 [$7E:09A2] $91D62C 89 01 00 BIT #$0001 $91D62F D0 08 BNE $08 [$D639] $91D631 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91D639 A9 9B 00 LDA #$009B $91D63C 8D 1C 0A STA $0A1C [$7E:0A1C] $91D63F 22 33 F4 91 JSL $91F433[$91:F433] $91D643 22 08 FB 91 JSL $91FB08[$91:FB08] $91D647 A9 15 00 LDA #$0015 $91D64A 22 84 F0 90 JSL $90F084[$90:F084] $91D64E AD 11 09 LDA $0911 [$7E:0911] $91D651 18 CLC $91D652 69 78 00 ADC #$0078 $91D655 8D F6 0A STA $0AF6 [$7E:0AF6] $91D658 8D 10 0B STA $0B10 [$7E:0B10] $91D65B AD 15 09 LDA $0915 [$7E:0915] $91D65E 18 CLC $91D65F 69 88 00 ADC #$0088 $91D662 8D FA 0A STA $0AFA [$7E:0AFA] $91D665 8D 14 0B STA $0B14 [$7E:0B14] $91D668 A9 56 00 LDA #$0056 $91D66B 22 CB 90 80 JSL $8090CB[$80:90CB] $91D66F 22 35 84 88 JSL $888435[$88:8435] $91D673 db 41, 26, 7A, D6 $91D677 AB PLB $91D678 28 PLP $91D679 6B RTL $91D67A db 55, 86, 00, 6A, 86, 7E, B4, 85, 92, D6, 91, 01, 00, 88, 0A, 70, 85, 5C, E0, 88, 82, 86, 69, 85 ;;; ;;; $91D692 08 PHP $91D693 8B PHB $91D694 4B PHK $91D695 AB PLB $91D696 E2 30 SEP #$30 $91D698 A9 13 LDA #$13 $91D69A 85 69 STA $69 [$7E:0069] $91D69C A9 13 LDA #$13 $91D69E 85 6C STA $6C [$7E:006C] $91D6A0 A9 04 LDA #$04 $91D6A2 85 6B STA $6B [$7E:006B] $91D6A4 A9 04 LDA #$04 $91D6A6 85 6D STA $6D [$7E:006D] $91D6A8 A9 10 LDA #$10 $91D6AA 85 6E STA $6E [$7E:006E] $91D6AC A9 00 LDA #$00 $91D6AE 85 60 STA $60 [$7E:0060] $91D6B0 A9 02 LDA #$02 $91D6B2 85 61 STA $61 [$7E:0061] $91D6B4 A9 20 LDA #$20 $91D6B6 85 62 STA $62 [$7E:0062] $91D6B8 A9 33 LDA #$33 $91D6BA 85 71 STA $71 [$7E:0071] $91D6BC AD F0 0D LDA $0DF0 [$7E:0DF0] $91D6BF 85 74 STA $74 [$7E:0074] $91D6C1 AD F1 0D LDA $0DF1 [$7E:0DF1] $91D6C4 85 75 STA $75 [$7E:0075] $91D6C6 AD F2 0D LDA $0DF2 [$7E:0DF2] $91D6C9 85 76 STA $76 [$7E:0076] $91D6CB C2 30 REP #$30 $91D6CD A9 E4 00 LDA #$00E4 $91D6D0 8D 88 0A STA $0A88 [$7E:0A88] $91D6D3 A9 00 98 LDA #$9800 $91D6D6 8D 89 0A STA $0A89 [$7E:0A89] $91D6D9 A9 E4 00 LDA #$00E4 $91D6DC 8D 8B 0A STA $0A8B [$7E:0A8B] $91D6DF A9 C8 98 LDA #$98C8 $91D6E2 8D 8C 0A STA $0A8C [$7E:0A8C] $91D6E5 A9 98 00 LDA #$0098 $91D6E8 8D 8E 0A STA $0A8E [$7E:0A8E] $91D6EB A9 90 99 LDA #$9990 $91D6EE 8D 8F 0A STA $0A8F [$7E:0A8F] $91D6F1 9C 91 0A STZ $0A91 [$7E:0A91] $91D6F4 AB PLB $91D6F5 28 PLP $91D6F6 6B RTL ;;; ;;; ; Almost always branches at start. ; Special sound/palletes for Samus. Also handles super jump timer $91D6F7 08 PHP $91D6F8 8B PHB $91D6F9 4B PHK $91D6FA AB PLB $91D6FB C2 30 REP #$30 $91D6FD AD 4A 0A LDA $0A4A [$7E:0A4A] $91D700 10 06 BPL $06 [$D708] $91D702 20 A5 D8 JSR $D8A5 [$91:D8A5] $91D705 AB PLB $91D706 28 PLP $91D707 6B RTL $91D708 20 43 D7 JSR $D743 [$91:D743] $91D70B B0 0A BCS $0A [$D717] $91D70D AD CC 0A LDA $0ACC [$7E:0ACC] $91D710 0A ASL A $91D711 AA TAX $91D712 FC 2D D7 JSR ($D72D,x)[$91:D9B2] $91D715 B0 0A BCS $0A [$D721] $91D717 AE 74 0A LDX $0A74 [$7E:0A74] $91D71A BD 27 D7 LDA $D727,x[$91:D727] $91D71D AA TAX $91D71E 20 5B DD JSR $DD5B [$91:DD5B] $91D721 20 A5 D8 JSR $D8A5 [$91:D8A5] $91D724 AB PLB $91D725 28 PLP $91D726 6B RTL $91D727 dw 9400, 9520, 9800 $91D72D dw D9B2, DAC7, D8A5, 0000, 0000, 0000, DB3A, DB93, DCB4, D83F, DD31 ;;; ;;; ; Sets Samus' pallete depending on Charge beam release, grapple, or charge amount/pseudo-screw attack. ; SEC if returning to normal pallete? (yellow charge release ends, or hyper flash ends). ; If in certain rooms (an FX3 condition? 1982 = 28 or 2A), may cycle visor colors. $91D743 AD 18 0B LDA $0B18 [$7E:0B18] $91D746 D0 4C BNE $4C [$D794] $91D748 AD 32 0D LDA $0D32 [$7E:0D32] $91D74B C9 F0 C4 CMP #$C4F0 $91D74E D0 60 BNE $60 [$D7B0] $91D750 AD D0 0C LDA $0CD0 [$7E:0CD0] $91D753 F0 5B BEQ $5B [$D7B0] $91D755 C9 3C 00 CMP #$003C $91D758 30 56 BMI $56 [$D7B0] $91D75A AD 6E 0A LDA $0A6E [$7E:0A6E] $91D75D C9 04 00 CMP #$0004 $91D760 D0 0A BNE $0A [$D76C] $91D762 AE 74 0A LDX $0A74 [$7E:0A74] $91D765 BD FF D7 LDA $D7FF,x[$91:D801] $91D768 85 24 STA $24 [$7E:0024] $91D76A 80 08 BRA $08 [$D774] $91D76C AE 74 0A LDX $0A74 [$7E:0A74] $91D76F BD D5 D7 LDA $D7D5,x[$91:D7D5] $91D772 85 24 STA $24 [$7E:0024] $91D774 AD 62 0B LDA $0B62 [$7E:0B62] $91D777 18 CLC $91D778 65 24 ADC $24 [$7E:0024] $91D77A AA TAX $91D77B BD 00 00 LDA $0000,x[$91:D7DB] $91D77E AA TAX $91D77F 20 5B DD JSR $DD5B [$91:DD5B] $91D782 AD 62 0B LDA $0B62 [$7E:0B62] $91D785 1A INC A $91D786 1A INC A $91D787 C9 0C 00 CMP #$000C $91D78A 30 03 BMI $03 [$D78F] $91D78C A9 00 00 LDA #$0000 $91D78F 8D 62 0B STA $0B62 [$7E:0B62] $91D792 18 CLC $91D793 60 RTS $91D794 AD 76 0A LDA $0A76 [$7E:0A76] $91D797 D0 1D BNE $1D [$D7B6] $91D799 CE 18 0B DEC $0B18 [$7E:0B18] $91D79C F0 10 BEQ $10 [$D7AE] $91D79E A2 1C 00 LDX #$001C $91D7A1 A9 FF 03 LDA #$03FF $91D7A4 9F 82 C1 7E STA $7EC182,x[$7E:C19E] $91D7A8 CA DEX $91D7A9 CA DEX $91D7AA 10 F8 BPL $F8 [$D7A4] $91D7AC 18 CLC $91D7AD 60 RTS $91D7AE 38 SEC $91D7AF 60 RTS $91D7B0 9C 62 0B STZ $0B62 [$7E:0B62] $91D7B3 4C 3F D8 JMP $D83F [$91:D83F] $91D7B6 AD 18 0B LDA $0B18 [$7E:0B18] $91D7B9 89 01 00 BIT #$0001 $91D7BC D0 0D BNE $0D [$D7CB] $91D7BE 29 1E 00 AND #$001E $91D7C1 F0 0D BEQ $0D [$D7D0] $91D7C3 A8 TAY $91D7C4 B9 29 D8 LDA $D829,y[$91:D83D] $91D7C7 AA TAX $91D7C8 20 5B DD JSR $DD5B [$91:DD5B] $91D7CB CE 18 0B DEC $0B18 [$7E:0B18] $91D7CE 18 CLC $91D7CF 60 RTS $91D7D0 9C 18 0B STZ $0B18 [$7E:0B18] $91D7D3 38 SEC $91D7D4 60 RTS $91D7D5 db DB, D7, E7, D7, F3, D7, 20, 98, 40, 98, 60, 98, 80, 98, 60, 98, 40, 98, 20, 99, 40, 99, 60, 99, 80, 99, 60, 99, 40, 99, 20, 9A, 40, 9A, 60, 9A, 80, 9A, 60, 9A, 40, 9A $91D801 db 11, D8, 1D, D8 $91D811 db 80, 9E, 80, 9E, 80, 9E, 20, 95, 20, 95, 20, 95, 80, A0, 80, A0, 80, A0, 00, 98, 00, 98, 00, 98 $91D82B db 60, A3, 40, A3, 20, A3, 00, A3, E0, A2, C0, A2, A0, A2, 80, A2, 60, A2, 40, A2 $91D83F AD CC 0A LDA $0ACC [$7E:0ACC] $91D842 C9 08 00 CMP #$0008 $91D845 D0 02 BNE $02 [$D849] $91D847 18 CLC $91D848 60 RTS $91D849 AD 82 19 LDA $1982 [$7E:1982] $91D84C C9 28 00 CMP #$0028 $91D84F F0 05 BEQ $05 [$D856] $91D851 C9 2A 00 CMP #$002A $91D854 D0 47 BNE $47 [$D89D] $91D856 AD 72 0A LDA $0A72 [$7E:0A72] $91D859 3A DEC A $91D85A 8D 72 0A STA $0A72 [$7E:0A72] $91D85D 89 FF 00 BIT #$00FF $91D860 F0 02 BEQ $02 [$D864] $91D862 D0 E3 BNE $E3 [$D847] $91D864 09 05 00 ORA #$0005 $91D867 8D 72 0A STA $0A72 [$7E:0A72] $91D86A EB XBA $91D86B 29 FF 00 AND #$00FF $91D86E AA TAX $91D86F BF C0 A3 9B LDA $9BA3C0,x[$9B:A3C6] $91D873 8F 88 C1 7E STA $7EC188[$7E:C188] $91D877 8A TXA $91D878 1A INC A $91D879 1A INC A $91D87A C9 0C 00 CMP #$000C $91D87D 30 0E BMI $0E [$D88D] $91D87F AD 72 0A LDA $0A72 [$7E:0A72] $91D882 29 FF 00 AND #$00FF $91D885 09 00 06 ORA #$0600 $91D888 8D 72 0A STA $0A72 [$7E:0A72] $91D88B 18 CLC $91D88C 60 RTS $91D88D EB XBA $91D88E 85 12 STA $12 [$7E:0012] $91D890 AD 72 0A LDA $0A72 [$7E:0A72] $91D893 29 FF 00 AND #$00FF $91D896 05 12 ORA $12 [$7E:0012] $91D898 8D 72 0A STA $0A72 [$7E:0A72] $91D89B 18 CLC $91D89C 60 RTS $91D89D A9 01 06 LDA #$0601 $91D8A0 8D 72 0A STA $0A72 [$7E:0A72] $91D8A3 18 CLC $91D8A4 60 RTS $91D8A5 AD 4A 0A LDA $0A4A [$7E:0A4A] $91D8A8 D0 06 BNE $06 [$D8B0] $91D8AA AD 48 0A LDA $0A48 [$7E:0A48] $91D8AD D0 04 BNE $04 [$D8B3] $91D8AF 60 RTS $91D8B0 4C 54 D9 JMP $D954 [$91:D954] $91D8B3 C9 02 00 CMP #$0002 $91D8B6 D0 21 BNE $21 [$D8D9] $91D8B8 AD 51 1F LDA $1F51 [$7E:1F51] $91D8BB D0 19 BNE $19 [$D8D6] $91D8BD AD 44 0A LDA $0A44 [$7E:0A44] $91D8C0 C9 D9 E8 CMP #$E8D9 $91D8C3 D0 08 BNE $08 [$D8CD] $91D8CD A9 35 00 LDA #$0035 $91D8D0 22 49 90 80 JSL $809049[$80:9049] $91D8D4 80 15 BRA $15 [$D8EB] $91D8D6 AD 48 0A LDA $0A48 [$7E:0A48] $91D8D9 C9 07 00 CMP #$0007 $91D8DC 10 1E BPL $1E [$D8FC] $91D8DE 89 01 00 BIT #$0001 $91D8E1 F0 08 BEQ $08 [$D8EB] $91D8E3 A2 80 A3 LDX #$A380 $91D8E6 20 5B DD JSR $DD5B [$91:DD5B] $91D8E9 80 11 BRA $11 [$D8FC] $91D8EB AD 51 1F LDA $1F51 [$7E:1F51] $91D8EE F0 08 BEQ $08 [$D8F8] $91D8F0 A2 A0 A3 LDX #$A3A0 $91D8F3 20 5B DD JSR $DD5B [$91:DD5B] $91D8F6 80 04 BRA $04 [$D8FC] $91D8F8 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91D8FC AD 48 0A LDA $0A48 [$7E:0A48] ;\ $91D8FF 1A INC A ;} $91D900 8D 48 0A STA $0A48 [$7E:0A48] ;/ $91D903 C9 28 00 CMP #$0028 $91D906 F0 09 BEQ $09 [$D911] $91D908 C9 3C 00 CMP #$003C $91D90B 30 03 BMI $03 [$D910] $91D90D 9C 48 0A STZ $0A48 [$7E:0A48] $91D910 60 RTS $91D911 AD 32 0D LDA $0D32 [$7E:0D32] $91D914 C9 F0 C4 CMP #$C4F0 $91D917 D0 26 BNE $26 [$D93F] $91D919 AD 1F 0A LDA $0A1F [$7E:0A1F] $91D91C 29 FF 00 AND #$00FF $91D91F C9 03 00 CMP #$0003 $91D922 F0 28 BEQ $28 [$D94C] $91D924 C9 14 00 CMP #$0014 $91D927 F0 23 BEQ $23 [$D94C] $91D929 AD D0 0C LDA $0CD0 [$7E:0CD0] $91D92C C9 10 00 CMP #$0010 $91D92F 30 DF BMI $DF [$D910] $91D931 A5 8B LDA $8B [$7E:008B] $91D933 2C B2 09 BIT $09B2 [$7E:09B2] $91D936 F0 D8 BEQ $D8 [$D910] $91D938 A9 01 00 LDA #$0001 $91D93B 8D C0 0D STA $0DC0 [$7E:0DC0] $91D93E 60 RTS $91D93F C9 56 C8 CMP #$C856 $91D942 10 CC BPL $CC [$D910] $91D944 A9 06 00 LDA #$0006 $91D947 22 2B 90 80 JSL $80902B[$80:902B] $91D94B 60 RTS $91D94C A9 1C 00 LDA #$001C $91D94F 22 84 F0 90 JSL $90F084[$90:F084] $91D953 60 RTS $91D954 30 19 BMI $19 [$D96F] $91D956 89 01 00 BIT #$0001 $91D959 F0 0C BEQ $0C [$D967] $91D95B AE 74 0A LDX $0A74 [$7E:0A74] $91D95E BD 98 D9 LDA $D998,x[$91:D99C] $91D961 AA TAX $91D962 20 5B DD JSR $DD5B [$91:DD5B] $91D965 80 04 BRA $04 [$D96B] $91D967 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91D96B EE 4A 0A INC $0A4A [$7E:0A4A] $91D96E 60 RTS $91D96F AD 62 0B LDA $0B62 [$7E:0B62] $91D972 0A ASL A $91D973 A8 TAY $91D974 B9 9E D9 LDA $D99E,y[$91:D99E] $91D977 AA TAX $91D978 20 5B DD JSR $DD5B [$91:DD5B] $91D97B CE D0 0A DEC $0AD0 [$7E:0AD0] $91D97E F0 02 BEQ $02 [$D982] $91D980 10 15 BPL $15 [$D997] $91D982 AD CE 0A LDA $0ACE [$7E:0ACE] $91D985 8D D0 0A STA $0AD0 [$7E:0AD0] $91D988 AD 62 0B LDA $0B62 [$7E:0B62] $91D98B 1A INC A $91D98C 8D 62 0B STA $0B62 [$7E:0B62] $91D98F C9 0A 00 CMP #$000A $91D992 30 03 BMI $03 [$D997] $91D994 9C 62 0B STZ $0B62 [$7E:0B62] $91D997 60 RTS $91D99C db 80, 9F, 60, A3, 40, A3, 20, A3, 00, A3, E0, A2, C0, A2, A0, A2, 80, A2, 60, A2, 40, A2 $91D9B2 AD 74 0A LDA $0A74 [$7E:0A74] $91D9B5 89 04 00 BIT #$0004 $91D9B8 D0 20 BNE $20 [$D9DA] $91D9BA 22 58 EC 90 JSL $90EC58[$90:EC58] $91D9BE AD 5E 19 LDA $195E [$7E:195E] $91D9C1 30 0E BMI $0E [$D9D1] $91D9C3 C5 14 CMP $14 [$7E:0014] $91D9C5 10 13 BPL $13 [$D9DA] $91D9C7 AD 7E 19 LDA $197E [$7E:197E] $91D9CA 89 04 00 BIT #$0004 $91D9CD D0 0B BNE $0B [$D9DA] $91D9CF 80 24 BRA $24 [$D9F5] $91D9D1 AD 62 19 LDA $1962 [$7E:1962] $91D9D4 30 04 BMI $04 [$D9DA] $91D9D6 C5 14 CMP $14 [$7E:0014] $91D9D8 30 1B BMI $1B [$D9F5] $91D9DA AD 1F 0A LDA $0A1F [$7E:0A1F] $91D9DD 29 FF 00 AND #$00FF $91D9E0 C9 03 00 CMP #$0003 $91D9E3 F0 12 BEQ $12 [$D9F7] $91D9E5 C9 14 00 CMP #$0014 $91D9E8 F0 21 BEQ $21 [$DA0B] $91D9EA AD 3E 0B LDA $0B3E [$7E:0B3E] $91D9ED 29 00 FF AND #$FF00 $91D9F0 C9 00 04 CMP #$0400 $91D9F3 F0 7F BEQ $7F [$DA74] $91D9F5 38 SEC $91D9F6 60 RTS $91D9F7 AD A2 09 LDA $09A2 [$7E:09A2] $91D9FA 89 08 00 BIT #$0008 $91D9FD F0 EB BEQ $EB [$D9EA] $91D9FF AD 96 0A LDA $0A96 [$7E:0A96] $91DA02 F0 3F BEQ $3F [$DA43] $91DA04 C9 1B 00 CMP #$001B $91DA07 10 3F BPL $3F [$DA48] $91DA09 80 10 BRA $10 [$DA1B] $91DA0B AD A2 09 LDA $09A2 [$7E:09A2] $91DA0E 89 08 00 BIT #$0008 $91DA11 F0 33 BEQ $33 [$DA46] $91DA13 AD 96 0A LDA $0A96 [$7E:0A96] $91DA16 C9 03 00 CMP #$0003 $91DA19 30 28 BMI $28 [$DA43] $91DA1B AE 74 0A LDX $0A74 [$7E:0A74] $91DA1E BD 4A DA LDA $DA4A,x[$91:DA4E] $91DA21 85 24 STA $24 [$7E:0024] $91DA23 AD CE 0A LDA $0ACE [$7E:0ACE] $91DA26 18 CLC $91DA27 65 24 ADC $24 [$7E:0024] $91DA29 AA TAX $91DA2A BD 00 00 LDA $0000,x[$91:DA68] $91DA2D AA TAX $91DA2E 20 5B DD JSR $DD5B [$91:DD5B] $91DA31 AD CE 0A LDA $0ACE [$7E:0ACE] $91DA34 1A INC A $91DA35 1A INC A $91DA36 C9 0C 00 CMP #$000C $91DA39 30 03 BMI $03 [$DA3E] $91DA3B A9 00 00 LDA #$0000 $91DA3E 8D CE 0A STA $0ACE [$7E:0ACE] $91DA41 38 SEC $91DA42 60 RTS $91DA43 9C CE 0A STZ $0ACE [$7E:0ACE] $91DA46 38 SEC $91DA47 60 RTS $91DA48 18 CLC $91DA49 60 RTS $91DA4E db 68, DA $91DA68 db A0, A0, C0, A0, E0, A0, 00, A1, E0, A0, C0, A0 $91DA74 CE D0 0A DEC $0AD0 [$7E:0AD0] $91DA77 F0 02 BEQ $02 [$DA7B] $91DA79 10 2C BPL $2C [$DAA7] $91DA7B A9 04 00 LDA #$0004 $91DA7E 8D D0 0A STA $0AD0 [$7E:0AD0] $91DA81 AE 74 0A LDX $0A74 [$7E:0A74] $91DA84 BD A9 DA LDA $DAA9,x[$91:DAAB] $91DA87 85 24 STA $24 [$7E:0024] $91DA89 AD CE 0A LDA $0ACE [$7E:0ACE] $91DA8C 18 CLC $91DA8D 65 24 ADC $24 [$7E:0024] $91DA8F AA TAX $91DA90 BD 00 00 LDA $0000,x[$91:DAB7] $91DA93 AA TAX $91DA94 20 5B DD JSR $DD5B [$91:DD5B] $91DA97 AD CE 0A LDA $0ACE [$7E:0ACE] $91DA9A 1A INC A $91DA9B 1A INC A $91DA9C C9 08 00 CMP #$0008 $91DA9F 30 03 BMI $03 [$DAA4] $91DAA1 A9 06 00 LDA #$0006 $91DAA4 8D CE 0A STA $0ACE [$7E:0ACE] $91DAA7 38 SEC $91DAA8 60 RTS $91DAAB db B7, DA, BF, DA $91DAB7 db 20, 9D, 40, 9D, 60, 9D, 80, 9D, 20, 9F, 40, 9F, 60, 9F, 80, 9F $91DAC7 AD 68 0A LDA $0A68 [$7E:0A68] $91DACA C9 AA 00 CMP #$00AA $91DACD D0 09 BNE $09 [$DAD8] $91DACF 48 PHA $91DAD0 A9 0C 00 LDA #$000C $91DAD3 22 2F 91 80 JSL $80912F[$80:912F] $91DAD7 68 PLA $91DAD8 3A DEC A $91DAD9 8D 68 0A STA $0A68 [$7E:0A68] $91DADC F0 2A BEQ $2A [$DB08] $91DADE 30 28 BMI $28 [$DB08] $91DAE0 AE 74 0A LDX $0A74 [$7E:0A74] $91DAE3 BD 10 DB LDA $DB10,x[$91:DB12] $91DAE6 85 24 STA $24 [$7E:0024] $91DAE8 AD CE 0A LDA $0ACE [$7E:0ACE] $91DAEB 18 CLC $91DAEC 65 24 ADC $24 [$7E:0024] $91DAEE AA TAX $91DAEF BD 00 00 LDA $0000,x[$91:DB22] $91DAF2 AA TAX $91DAF3 20 5B DD JSR $DD5B [$91:DD5B] $91DAF6 AD CE 0A LDA $0ACE [$7E:0ACE] $91DAF9 1A INC A $91DAFA 1A INC A $91DAFB C9 0C 00 CMP #$000C $91DAFE 30 03 BMI $03 [$DB03] $91DB00 A9 00 00 LDA #$0000 $91DB03 8D CE 0A STA $0ACE [$7E:0ACE] $91DB06 38 SEC $91DB07 60 RTS $91DB08 9C CE 0A STZ $0ACE [$7E:0ACE] $91DB0B 9C CC 0A STZ $0ACC [$7E:0ACC] $91DB0E 18 CLC $91DB0F 60 RTS $91DB12 db 22, DB, 2E, DB $91DB22 db A0, 9D, C0, 9D, E0, 9D, 00, 9E, E0, 9D, C0, 9D, A0, 9F, C0, 9F, E0, 9F, 00, A0, E0, 9F, C0, 9F $91DB3A AD 68 0A LDA $0A68 [$7E:0A68] $91DB3D 3A DEC A $91DB3E 8D 68 0A STA $0A68 [$7E:0A68] $91DB41 F0 2A BEQ $2A [$DB6D] $91DB43 30 28 BMI $28 [$DB6D] $91DB45 AE 74 0A LDX $0A74 [$7E:0A74] $91DB48 BD 75 DB LDA $DB75,x[$91:DB77] $91DB4B 85 24 STA $24 [$7E:0024] $91DB4D AD CE 0A LDA $0ACE [$7E:0ACE] $91DB50 18 CLC $91DB51 65 24 ADC $24 [$7E:0024] $91DB53 AA TAX $91DB54 BD 00 00 LDA $0000,x[$91:DB83] $91DB57 AA TAX $91DB58 20 5B DD JSR $DD5B [$91:DD5B] $91DB5B AD CE 0A LDA $0ACE [$7E:0ACE] $91DB5E 1A INC A $91DB5F 1A INC A $91DB60 C9 08 00 CMP #$0008 $91DB63 30 03 BMI $03 [$DB68] $91DB65 A9 00 00 LDA #$0000 $91DB68 8D CE 0A STA $0ACE [$7E:0ACE] $91DB6B 38 SEC $91DB6C 60 RTS $91DB6D 9C CC 0A STZ $0ACC [$7E:0ACC] $91DB70 9C CE 0A STZ $0ACE [$7E:0ACE] $91DB73 18 CLC $91DB74 60 RTS $91DB77 db 83, DB, 8B, DB $91DB83 db 20, 9E, 40, 9E, 60, 9E, 80, 9E, 20, A0, 40, A0, 60, A0, 80, A0 $91DCB4 AD 80 0A LDA $0A80 [$7E:0A80] $91DCB7 30 6A BMI $6A [$DD23] $91DCB9 D0 3E BNE $3E [$DCF9] $91DCBB AD 7A 0A LDA $0A7A [$7E:0A7A] $91DCBE C9 02 00 CMP #$0002 $91DCC1 10 27 BPL $27 [$DCEA] $91DCC3 CE D0 0A DEC $0AD0 [$7E:0AD0] $91DCC6 F0 02 BEQ $02 [$DCCA] $91DCC8 10 1E BPL $1E [$DCE8] $91DCCA A9 05 00 LDA #$0005 $91DCCD 8D D0 0A STA $0AD0 [$7E:0AD0] $91DCD0 AE CE 0A LDX $0ACE [$7E:0ACE] $91DCD3 BF C0 A3 9B LDA $9BA3C0,x[$9B:A3C0] $91DCD7 8F 88 C1 7E STA $7EC188[$7E:C188] $91DCDB AD CE 0A LDA $0ACE [$7E:0ACE] $91DCDE C9 04 00 CMP #$0004 $91DCE1 10 05 BPL $05 [$DCE8] $91DCE3 1A INC A $91DCE4 1A INC A $91DCE5 8D CE 0A STA $0ACE [$7E:0ACE] $91DCE8 38 SEC $91DCE9 60 RTS $91DCEA A9 06 00 LDA #$0006 $91DCED 8D CE 0A STA $0ACE [$7E:0ACE] $91DCF0 A9 01 00 LDA #$0001 $91DCF3 8D D0 0A STA $0AD0 [$7E:0AD0] $91DCF6 8D 80 0A STA $0A80 [$7E:0A80] $91DCF9 CE D0 0A DEC $0AD0 [$7E:0AD0] $91DCFC F0 02 BEQ $02 [$DD00] $91DCFE 10 E8 BPL $E8 [$DCE8] $91DD00 A9 05 00 LDA #$0005 $91DD03 8D D0 0A STA $0AD0 [$7E:0AD0] $91DD06 AE CE 0A LDX $0ACE [$7E:0ACE] $91DD09 BF C0 A3 9B LDA $9BA3C0,x[$9B:A3C6] $91DD0D 8F 88 C1 7E STA $7EC188[$7E:C188] $91DD11 AD CE 0A LDA $0ACE [$7E:0ACE] $91DD14 1A INC A $91DD15 1A INC A $91DD16 C9 0C 00 CMP #$000C $91DD19 30 03 BMI $03 [$DD1E] $91DD1B A9 06 00 LDA #$0006 $91DD1E 8D CE 0A STA $0ACE [$7E:0ACE] $91DD21 38 SEC $91DD22 60 RTS $91DD23 9C CC 0A STZ $0ACC [$7E:0ACC] $91DD26 9C CE 0A STZ $0ACE [$7E:0ACE] $91DD29 9C D0 0A STZ $0AD0 [$7E:0AD0] $91DD2C 9C 80 0A STZ $0A80 [$7E:0A80] $91DD2F 18 CLC $91DD30 60 RTS ;;; Loads 9B:0000,X to 9B:001F,X into Samus's pallete ;;; $91DD5B 08 PHP $91DD5C C2 30 REP #$30 $91DD5E 8B PHB $91DD5F F4 00 9B PEA $9B00 $91DD62 AB PLB $91DD63 AB PLB $91DD64 BD 00 00 LDA $0000,x[$9B:A380] $91DD67 8F 80 C1 7E STA $7EC180[$7E:C180] $91DD6B BD 02 00 LDA $0002,x[$9B:A382] $91DD6E 8F 82 C1 7E STA $7EC182[$7E:C182] $91DD72 BD 04 00 LDA $0004,x[$9B:A384] $91DD75 8F 84 C1 7E STA $7EC184[$7E:C184] $91DD79 BD 06 00 LDA $0006,x[$9B:A386] $91DD7C 8F 86 C1 7E STA $7EC186[$7E:C186] $91DD80 BD 08 00 LDA $0008,x[$9B:A388] $91DD83 8F 88 C1 7E STA $7EC188[$7E:C188] $91DD87 BD 0A 00 LDA $000A,x[$9B:A38A] $91DD8A 8F 8A C1 7E STA $7EC18A[$7E:C18A] $91DD8E BD 0C 00 LDA $000C,x[$9B:A38C] $91DD91 8F 8C C1 7E STA $7EC18C[$7E:C18C] $91DD95 BD 0E 00 LDA $000E,x[$9B:A38E] $91DD98 8F 8E C1 7E STA $7EC18E[$7E:C18E] $91DD9C BD 10 00 LDA $0010,x[$9B:A390] $91DD9F 8F 90 C1 7E STA $7EC190[$7E:C190] $91DDA3 BD 12 00 LDA $0012,x[$9B:A392] $91DDA6 8F 92 C1 7E STA $7EC192[$7E:C192] $91DDAA BD 14 00 LDA $0014,x[$9B:A394] $91DDAD 8F 94 C1 7E STA $7EC194[$7E:C194] $91DDB1 BD 16 00 LDA $0016,x[$9B:A396] $91DDB4 8F 96 C1 7E STA $7EC196[$7E:C196] $91DDB8 BD 18 00 LDA $0018,x[$9B:A398] $91DDBB 8F 98 C1 7E STA $7EC198[$7E:C198] $91DDBF BD 1A 00 LDA $001A,x[$9B:A39A] $91DDC2 8F 9A C1 7E STA $7EC19A[$7E:C19A] $91DDC6 BD 1C 00 LDA $001C,x[$9B:A39C] $91DDC9 8F 9C C1 7E STA $7EC19C[$7E:C19C] $91DDCD BD 1E 00 LDA $001E,x[$9B:A39E] $91DDD0 8F 9E C1 7E STA $7EC19E[$7E:C19E] $91DDD4 AB PLB $91DDD5 28 PLP $91DDD6 60 RTS ;;; ;;; $91DDD7 08 PHP $91DDD8 C2 30 REP #$30 $91DDDA 8B PHB $91DDDB F4 00 9B PEA $9B00 $91DDDE AB PLB $91DDDF AB PLB $91DDE0 BD 00 00 LDA $0000,x[$9B:9400] $91DDE3 8F 80 C3 7E STA $7EC380[$7E:C380] $91DDE7 BD 02 00 LDA $0002,x[$9B:9402] $91DDEA 8F 82 C3 7E STA $7EC382[$7E:C382] $91DDEE BD 04 00 LDA $0004,x[$9B:9404] $91DDF1 8F 84 C3 7E STA $7EC384[$7E:C384] $91DDF5 BD 06 00 LDA $0006,x[$9B:9406] $91DDF8 8F 86 C3 7E STA $7EC386[$7E:C386] $91DDFC BD 08 00 LDA $0008,x[$9B:9408] $91DDFF 8F 88 C3 7E STA $7EC388[$7E:C388] $91DE03 BD 0A 00 LDA $000A,x[$9B:940A] $91DE06 8F 8A C3 7E STA $7EC38A[$7E:C38A] $91DE0A BD 0C 00 LDA $000C,x[$9B:940C] $91DE0D 8F 8C C3 7E STA $7EC38C[$7E:C38C] $91DE11 BD 0E 00 LDA $000E,x[$9B:940E] $91DE14 8F 8E C3 7E STA $7EC38E[$7E:C38E] $91DE18 BD 10 00 LDA $0010,x[$9B:9410] $91DE1B 8F 90 C3 7E STA $7EC390[$7E:C390] $91DE1F BD 12 00 LDA $0012,x[$9B:9412] $91DE22 8F 92 C3 7E STA $7EC392[$7E:C392] $91DE26 BD 14 00 LDA $0014,x[$9B:9414] $91DE29 8F 94 C3 7E STA $7EC394[$7E:C394] $91DE2D BD 16 00 LDA $0016,x[$9B:9416] $91DE30 8F 96 C3 7E STA $7EC396[$7E:C396] $91DE34 BD 18 00 LDA $0018,x[$9B:9418] $91DE37 8F 98 C3 7E STA $7EC398[$7E:C398] $91DE3B BD 1A 00 LDA $001A,x[$9B:941A] $91DE3E 8F 9A C3 7E STA $7EC39A[$7E:C39A] $91DE42 BD 1C 00 LDA $001C,x[$9B:941C] $91DE45 8F 9C C3 7E STA $7EC39C[$7E:C39C] $91DE49 BD 1E 00 LDA $001E,x[$9B:941E] $91DE4C 8F 9E C3 7E STA $7EC39E[$7E:C39E] $91DE50 AB PLB $91DE51 28 PLP $91DE52 60 RTS ;;; ;;; ; Cleanup for speed counter/blue suit/speedechoes because Samus was stopped for some reason $91DE53 08 PHP $91DE54 8B PHB $91DE55 4B PHK $91DE56 AB PLB $91DE57 C2 30 REP #$30 $91DE59 AD 3C 0B LDA $0B3C [$7E:0B3C] $91DE5C F0 2F BEQ $2F [$DE8D] $91DE5E 9C 3C 0B STZ $0B3C [$7E:0B3C] $91DE61 9C 3E 0B STZ $0B3E [$7E:0B3E] $91DE64 9C CE 0A STZ $0ACE [$7E:0ACE] $91DE67 9C D0 0A STZ $0AD0 [$7E:0AD0] $91DE6A AD A2 09 LDA $09A2 [$7E:09A2] $91DE6D 89 20 00 BIT #$0020 $91DE70 D0 15 BNE $15 [$DE87] $91DE72 89 01 00 BIT #$0001 $91DE75 D0 08 BNE $08 [$DE7F] $91DE77 A2 00 94 LDX #$9400 $91DE7A 20 5B DD JSR $DD5B [$91:DD5B] $91DE7D 80 0E BRA $0E [$DE8D] $91DE7F A2 20 95 LDX #$9520 $91DE82 20 5B DD JSR $DD5B [$91:DD5B] $91DE85 80 06 BRA $06 [$DE8D] $91DE87 A2 00 98 LDX #$9800 $91DE8A 20 5B DD JSR $DD5B [$91:DD5B] $91DE8D AD AE 0A LDA $0AAE [$7E:0AAE] $91DE90 30 25 BMI $25 [$DEB7] $91DE92 A9 FF FF LDA #$FFFF $91DE95 8D AE 0A STA $0AAE [$7E:0AAE] $91DE98 AD 1E 0A LDA $0A1E [$7E:0A1E] $91DE9B 29 FF 00 AND #$00FF $91DE9E C9 04 00 CMP #$0004 $91DEA1 F0 0B BEQ $0B [$DEAE] $91DEA3 A9 08 00 LDA #$0008 $91DEA6 8D C0 0A STA $0AC0 [$7E:0AC0] $91DEA9 8D C2 0A STA $0AC2 [$7E:0AC2] $91DEAC 80 09 BRA $09 [$DEB7] $91DEAE A9 F8 FF LDA #$FFF8 $91DEB1 8D C0 0A STA $0AC0 [$7E:0AC0] $91DEB4 8D C2 0A STA $0AC2 [$7E:0AC2] $91DEB7 AB PLB $91DEB8 28 PLP $91DEB9 6B RTL ;;; ;;; ; Reset pallete with 91:DD5B depending on suit. Grav: X = 9800. Var: X = 9520. Norm: X = 9400 $91DEBA 08 PHP $91DEBB 8B PHB $91DEBC 4B PHK $91DEBD AB PLB $91DEBE C2 30 REP #$30 $91DEC0 AD A2 09 LDA $09A2 [$7E:09A2] $91DEC3 89 20 00 BIT #$0020 $91DEC6 D0 15 BNE $15 [$DEDD] $91DEC8 89 01 00 BIT #$0001 $91DECB D0 08 BNE $08 [$DED5] $91DECD A2 00 94 LDX #$9400 $91DED0 20 5B DD JSR $DD5B [$91:DD5B] $91DED3 80 0E BRA $0E [$DEE3] $91DED5 A2 20 95 LDX #$9520 $91DED8 20 5B DD JSR $DD5B [$91:DD5B] $91DEDB 80 06 BRA $06 [$DEE3] $91DEDD A2 00 98 LDX #$9800 $91DEE0 20 5B DD JSR $DD5B [$91:DD5B] $91DEE3 AB PLB $91DEE4 28 PLP $91DEE5 6B RTL $91DEE6 08 PHP $91DEE7 8B PHB $91DEE8 4B PHK $91DEE9 AB PLB $91DEEA C2 30 REP #$30 $91DEEC AD A2 09 LDA $09A2 [$7E:09A2] $91DEEF 89 20 00 BIT #$0020 $91DEF2 D0 15 BNE $15 [$DF09] $91DEF4 89 01 00 BIT #$0001 $91DEF7 D0 08 BNE $08 [$DF01] $91DEF9 A2 00 94 LDX #$9400 $91DEFC 20 D7 DD JSR $DDD7 [$91:DDD7] $91DEFF 80 0E BRA $0E [$DF0F] $91DF01 A2 20 95 LDX #$9520 $91DF04 20 D7 DD JSR $DDD7 [$91:DDD7] $91DF07 80 06 BRA $06 [$DF0F] $91DF09 A2 00 98 LDX #$9800 $91DF0C 20 D7 DD JSR $DDD7 [$91:DDD7] $91DF0F AB PLB $91DF10 28 PLP $91DF11 6B RTL $91DF12 08 PHP $91DF13 8B PHB $91DF14 4B PHK $91DF15 AB PLB $91DF16 C2 30 REP #$30 $91DF18 85 12 STA $12 [$7E:0012] $91DF1A AD C2 09 LDA $09C2 [$7E:09C2] $91DF1D 18 CLC $91DF1E 65 12 ADC $12 [$7E:0012] $91DF20 8D C2 09 STA $09C2 [$7E:09C2] $91DF23 CD C4 09 CMP $09C4 [$7E:09C4] $91DF26 30 26 BMI $26 [$DF4E] $91DF28 38 SEC $91DF29 ED C4 09 SBC $09C4 [$7E:09C4] $91DF2C 18 CLC $91DF2D 6D D6 09 ADC $09D6 [$7E:09D6] $91DF30 CD D4 09 CMP $09D4 [$7E:09D4] $91DF33 30 03 BMI $03 [$DF38] $91DF35 AD D4 09 LDA $09D4 [$7E:09D4] $91DF38 8D D6 09 STA $09D6 [$7E:09D6] $91DF3B F0 0B BEQ $0B [$DF48] $91DF3D AD C0 09 LDA $09C0 [$7E:09C0] $91DF40 D0 06 BNE $06 [$DF48] $91DF48 AD C4 09 LDA $09C4 [$7E:09C4] $91DF4B 8D C2 09 STA $09C2 [$7E:09C2] $91DF4E AB PLB $91DF4F 28 PLP $91DF50 6B RTL ;;; ;;; ; Deal damage (A) to Samus. ; Does NOT do any damage if damage = 300 (#$12C) or if time is paused by x-ray / reserve tanks, ignores suits. ; NOTE: If damage is negative, game will stop (JML $808573) (change $91DF65 to 00 to skip 300-damage check) $91DF51 08 PHP $91DF52 8B PHB $91DF53 4B PHK $91DF54 AB PLB $91DF55 C2 30 REP #$30 $91DF57 DA PHX $91DF58 85 12 STA $12 [$7E:0012] $91DF5A AA TAX $91DF5B 10 04 BPL $04 [$DF61] $91DF61 C9 2C 01 CMP #$012C $91DF64 F0 17 BEQ $17 [$DF7D] $91DF66 AD 78 0A LDA $0A78 [$7E:0A78] $91DF69 D0 0E BNE $0E [$DF79] $91DF6B AD C2 09 LDA $09C2 [$7E:09C2] $91DF6E 38 SEC $91DF6F E5 12 SBC $12 [$7E:0012] $91DF71 8D C2 09 STA $09C2 [$7E:09C2] $91DF74 10 03 BPL $03 [$DF79] $91DF76 9C C2 09 STZ $09C2 [$7E:09C2] $91DF79 FA PLX $91DF7A AB PLB $91DF7B 28 PLP $91DF7C 6B RTL ;;; ;;; ; Add to reserve missiles $91DF80 08 PHP $91DF81 8B PHB $91DF82 4B PHK $91DF83 AB PLB $91DF84 C2 30 REP #$30 $91DF86 18 CLC $91DF87 6D C6 09 ADC $09C6 [$7E:09C6] $91DF8A 8D C6 09 STA $09C6 [$7E:09C6] $91DF8D CD C8 09 CMP $09C8 [$7E:09C8] $91DF90 30 3E BMI $3E [$DFD0] $91DF92 38 SEC $91DF93 ED C8 09 SBC $09C8 [$7E:09C8] $91DF96 85 12 STA $12 [$7E:0012] $91DF98 AD C8 09 LDA $09C8 [$7E:09C8] $91DF9B C9 63 00 CMP #$0063 $91DF9E 30 16 BMI $16 [$DFB6] $91DFA0 A5 12 LDA $12 [$7E:0012] $91DFA2 18 CLC $91DFA3 6D D8 09 ADC $09D8 [$7E:09D8] $91DFA6 8D D8 09 STA $09D8 [$7E:09D8] $91DFA9 C9 63 00 CMP #$0063 $91DFAC 30 1C BMI $1C [$DFCA] $91DFAE A9 63 00 LDA #$0063 $91DFB1 8D D8 09 STA $09D8 [$7E:09D8] $91DFB4 80 14 BRA $14 [$DFCA] $91DFB6 A5 12 LDA $12 [$7E:0012] $91DFB8 18 CLC $91DFB9 6D D8 09 ADC $09D8 [$7E:09D8] $91DFBC 8D D8 09 STA $09D8 [$7E:09D8] $91DFBF CD C8 09 CMP $09C8 [$7E:09C8] $91DFC2 30 06 BMI $06 [$DFCA] $91DFC4 AD C8 09 LDA $09C8 [$7E:09C8] $91DFC7 8D D8 09 STA $09D8 [$7E:09D8] $91DFCA AD C8 09 LDA $09C8 [$7E:09C8] $91DFCD 8D C6 09 STA $09C6 [$7E:09C6] $91DFD0 AB PLB $91DFD1 28 PLP $91DFD2 6B RTL ;;; ;;; $91DFD3 08 PHP $91DFD4 8B PHB $91DFD5 4B PHK $91DFD6 AB PLB $91DFD7 C2 30 REP #$30 $91DFD9 18 CLC $91DFDA 6D CA 09 ADC $09CA [$7E:09CA] $91DFDD 8D CA 09 STA $09CA [$7E:09CA] $91DFE0 CD CC 09 CMP $09CC [$7E:09CC] $91DFE3 30 08 BMI $08 [$DFED] $91DFE5 F0 06 BEQ $06 [$DFED] $91DFE7 AD CC 09 LDA $09CC [$7E:09CC] $91DFEA 8D CA 09 STA $09CA [$7E:09CA] $91DFED AB PLB $91DFEE 28 PLP $91DFEF 6B RTL ;;; ;;; $91DFF0 08 PHP $91DFF1 8B PHB $91DFF2 4B PHK $91DFF3 AB PLB $91DFF4 C2 30 REP #$30 $91DFF6 18 CLC $91DFF7 6D CE 09 ADC $09CE [$7E:09CE] $91DFFA 8D CE 09 STA $09CE [$7E:09CE] $91DFFD CD D0 09 CMP $09D0 [$7E:09D0] $91E000 30 08 BMI $08 [$E00A] $91E002 F0 06 BEQ $06 [$E00A] $91E004 AD D0 09 LDA $09D0 [$7E:09D0] $91E007 8D CE 09 STA $09CE [$7E:09CE] $91E00A AB PLB $91E00B 28 PLP $91E00C 6B RTL ;;; ;;; $91E00D 08 PHP $91E00E 8B PHB $91E00F 4B PHK $91E010 AB PLB $91E011 C2 30 REP #$30 $91E013 AD E0 0D LDA $0DE0 [$7E:0DE0] $91E016 85 12 STA $12 [$7E:0012] $91E018 A2 0B 0E LDX #$0E0B $91E01B E2 20 SEP #$20 $91E01D A9 00 LDA #$00 $91E01F 9D 00 00 STA $0000,x[$7E:0E0B] $91E022 CA DEX $91E023 E0 02 0A CPX #$0A02 $91E026 10 F7 BPL $F7 [$E01F] $91E028 C2 20 REP #$20 $91E02A AD 98 09 LDA $0998 [$7E:0998] $91E02D C9 28 00 CMP #$0028 $91E030 F0 59 BEQ $59 [$E08B] $91E032 AF 14 D9 7E LDA $7ED914[$7E:D914] $91E036 C9 22 00 CMP #$0022 $91E039 D0 2A BNE $2A [$E065] $91E03B A9 CD E8 LDA #$E8CD $91E03E 8D 42 0A STA $0A42 [$7E:0A42] $91E041 A9 DC E8 LDA #$E8DC $91E044 8D 44 0A STA $0A44 [$7E:0A44] $91E047 A9 52 EB LDA #$EB52 $91E04A 8D 5C 0A STA $0A5C [$7E:0A5C] $91E04D A9 FF FF LDA #$FFFF $91E050 8D 2E 0A STA $0A2E [$7E:0A2E] $91E053 9C 30 0A STZ $0A30 [$7E:0A30] $91E056 9C 32 0A STZ $0A32 [$7E:0A32] $91E059 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91E05D A9 13 E9 LDA #$E913 $91E060 8D 60 0A STA $0A60 [$7E:0A60] $91E063 80 26 BRA $26 [$E08B] $91E065 A9 CD E8 LDA #$E8CD $91E068 8D 42 0A STA $0A42 [$7E:0A42] $91E06B A9 6A E8 LDA #$E86A $91E06E 8D 44 0A STA $0A44 [$7E:0A44] $91E071 A9 52 EB LDA #$EB52 $91E074 8D 5C 0A STA $0A5C [$7E:0A5C] $91E077 9C 2E 0A STZ $0A2E [$7E:0A2E] $91E07A 9C 30 0A STZ $0A30 [$7E:0A30] $91E07D 9C 32 0A STZ $0A32 [$7E:0A32] $91E080 A9 13 E9 LDA #$E913 $91E083 8D 60 0A STA $0A60 [$7E:0A60] $91E086 A5 12 LDA $12 [$7E:0012] $91E088 8D E0 0D STA $0DE0 [$7E:0DE0] $91E08B A9 FF FF LDA #$FFFF $91E08E 8D 28 0A STA $0A28 [$7E:0A28] $91E091 8D 2A 0A STA $0A2A [$7E:0A2A] $91E094 8D 2C 0A STA $0A2C [$7E:0A2C] $91E097 AD 9F 07 LDA $079F [$7E:079F] $91E09A C9 06 00 CMP #$0006 $91E09D D0 08 BNE $08 [$E0A7] $91E09F A9 E6 E0 LDA #$E0E6 $91E0A2 8D 5A 0A STA $0A5A [$7E:0A5A] $91E0A5 80 06 BRA $06 [$E0AD] $91E0A7 A9 0E E9 LDA #$E90E $91E0AA 8D 5A 0A STA $0A5A [$7E:0A5A] $91E0AD A9 37 A3 LDA #$A337 $91E0B0 8D 58 0A STA $0A58 [$7E:0A58] $91E0B3 A9 34 F5 LDA #$F534 $91E0B6 8D 5E 0A STA $0A5E [$7E:0A5E] $91E0B9 A9 32 00 LDA #$0032 $91E0BC 8D 12 0A STA $0A12 [$7E:0A12] $91E0BF A9 01 06 LDA #$0601 $91E0C2 8D 72 0A STA $0A72 [$7E:0A72] $91E0C5 A2 00 00 LDX #$0000 $91E0C8 A9 69 B1 LDA #$B169 $91E0CB 9D 68 0C STA $0C68,x[$7E:0C68] $91E0CE E8 INX $91E0CF E8 INX $91E0D0 E0 14 00 CPX #$0014 $91E0D3 30 F3 BMI $F3 [$E0C8] $91E0D5 A9 F0 C4 LDA #$C4F0 $91E0D8 8D 32 0D STA $0D32 [$7E:0D32] $91E0DB A9 03 00 LDA #$0003 $91E0DE 8D 46 0A STA $0A46 [$7E:0A46] $91E0E1 9C 48 0A STZ $0A48 [$7E:0A48] $91E0E4 9C 4A 0A STZ $0A4A [$7E:0A4A] $91E0E7 AF AF 9E 90 LDA $909EAF[$90:9EAF] $91E0EB 8D A4 0D STA $0DA4 [$7E:0DA4] $91E0EE AF AD 9E 90 LDA $909EAD[$90:9EAD] $91E0F2 8D A2 0D STA $0DA2 [$7E:0DA2] $91E0F5 AF B3 9E 90 LDA $909EB3[$90:9EB3] $91E0F9 8D A8 0D STA $0DA8 [$7E:0DA8] $91E0FC AF B1 9E 90 LDA $909EB1[$90:9EB1] $91E100 8D A6 0D STA $0DA6 [$7E:0DA6] $91E103 A2 FE 01 LDX #$01FE $91E106 A9 FF 00 LDA #$00FF $91E109 9F 00 98 7E STA $7E9800,x[$7E:99FE] $91E10D CA DEX $91E10E CA DEX $91E10F 10 F8 BPL $F8 [$E109] $91E111 AF A1 9E 90 LDA $909EA1[$90:9EA1] $91E115 8D 32 0B STA $0B32 [$7E:0B32] $91E118 AF A7 9E 90 LDA $909EA7[$90:9EA7] $91E11C 8D 34 0B STA $0B34 [$7E:0B34] $91E11F A9 FF FF LDA #$FFFF $91E122 8D 5E 19 STA $195E [$7E:195E] $91E125 8D 62 19 STA $1962 [$7E:1962] $91E128 22 8D AC 90 JSL $90AC8D[$90:AC8D] $91E12C 9C 51 1F STZ $1F51 [$7E:1F51] $91E12F 9C 1C 0A STZ $0A1C [$7E:0A1C] $91E132 9C 1E 0A STZ $0A1E [$7E:0A1E] $91E135 9C 20 0A STZ $0A20 [$7E:0A20] $91E138 9C 22 0A STZ $0A22 [$7E:0A22] $91E13B 9C 24 0A STZ $0A24 [$7E:0A24] $91E13E 9C 26 0A STZ $0A26 [$7E:0A26] $91E141 A9 FF FF LDA #$FFFF $91E144 8D 1C 0E STA $0E1C [$7E:0E1C] $91E147 9C D2 09 STZ $09D2 [$7E:09D2] $91E14A 9C 04 0A STZ $0A04 [$7E:0A04] $91E14D 9C A8 18 STZ $18A8 [$7E:18A8] $91E150 9C AA 18 STZ $18AA [$7E:18AA] $91E153 9C 48 0A STZ $0A48 [$7E:0A48] $91E156 9C E0 0D STZ $0DE0 [$7E:0DE0] $91E159 AD 98 09 LDA $0998 [$7E:0998] $91E15C C9 28 00 CMP #$0028 $91E15F D0 03 BNE $03 [$E164] $91E164 AD C2 09 LDA $09C2 [$7E:09C2] $91E167 8D 12 0A STA $0A12 [$7E:0A12] $91E16A AB PLB $91E16B 28 PLP $91E16C 6B RTL $91E16D 08 PHP $91E16E 8B PHB $91E16F 4B PHK $91E170 AB PLB $91E171 C2 30 REP #$30 $91E173 AD CC 0C LDA $0CCC [$7E:0CCC] $91E176 C9 07 00 CMP #$0007 $91E179 D0 10 BNE $10 [$E18B] $91E18B AD 1C 0A LDA $0A1C [$7E:0A1C] $91E18E C9 A4 00 CMP #$00A4 $91E191 30 0F BMI $0F [$E1A2] $91E193 C9 A8 00 CMP #$00A8 $91E196 30 47 BMI $47 [$E1DF] $91E1A2 AD 98 09 LDA $0998 [$7E:0998] $91E1A5 C9 08 00 CMP #$0008 $91E1A8 D0 35 BNE $35 [$E1DF] $91E1AA AD 92 05 LDA $0592 [$7E:0592] $91E1AD D0 30 BNE $30 [$E1DF] $91E1AF AD 2E 0B LDA $0B2E [$7E:0B2E] $91E1B2 D0 2B BNE $2B [$E1DF] $91E1B4 AD 2C 0B LDA $0B2C [$7E:0B2C] $91E1B7 D0 26 BNE $26 [$E1DF] $91E1B9 AD 11 0A LDA $0A11 [$7E:0A11] $91E1BC 29 FF 00 AND #$00FF $91E1BF AA TAX $91E1C0 BD 91 E2 LDA $E291,x[$91:E292] $91E1C3 29 FF 00 AND #$00FF $91E1C6 F0 17 BEQ $17 [$E1DF] $91E1C8 AD 1F 0A LDA $0A1F [$7E:0A1F] $91E1CB 29 FF 00 AND #$00FF $91E1CE AA TAX $91E1CF BD 91 E2 LDA $E291,x[$91:E292] $91E1D2 29 FF 00 AND #$00FF $91E1D5 C9 01 00 CMP #$0001 $91E1D8 F0 09 BEQ $09 [$E1E3] $91E1DA C9 02 00 CMP #$0002 $91E1DD F0 1F BEQ $1F [$E1FE] $91E1DF AB PLB $91E1E0 28 PLP $91E1E1 18 CLC $91E1E2 6B RTL $91E1E3 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E1E6 29 FF 00 AND #$00FF $91E1E9 C9 04 00 CMP #$0004 $91E1EC F0 08 BEQ $08 [$E1F6] $91E1EE A9 D5 00 LDA #$00D5 $91E1F1 8D 2A 0A STA $0A2A [$7E:0A2A] $91E1F4 80 21 BRA $21 [$E217] $91E1F6 A9 D6 00 LDA #$00D6 $91E1F9 8D 2A 0A STA $0A2A [$7E:0A2A] $91E1FC 80 19 BRA $19 [$E217] $91E1FE AD 1E 0A LDA $0A1E [$7E:0A1E] $91E201 29 FF 00 AND #$00FF $91E204 C9 04 00 CMP #$0004 $91E207 F0 08 BEQ $08 [$E211] $91E211 A9 DA 00 LDA #$00DA $91E214 8D 2A 0A STA $0A2A [$7E:0A2A] $91E217 A9 01 00 LDA #$0001 $91E21A 8D 78 0A STA $0A78 [$7E:0A78] $91E21D A9 05 00 LDA #$0005 $91E220 8D 30 0A STA $0A30 [$7E:0A30] $91E223 A2 FE 01 LDX #$01FE $91E226 A9 FF 00 LDA #$00FF $91E229 9F 00 98 7E STA $7E9800,x[$7E:99FE] $91E22D CA DEX $91E22E CA DEX $91E22F 10 F5 BPL $F5 [$E226] $91E231 22 0B 80 86 JSL $86800B[$86:800B] $91E235 22 B8 83 84 JSL $8483B8[$84:83B8] $91E239 22 0B 80 87 JSL $87800B[$87:800B] $91E23D 22 CD C4 8D JSL $8DC4CD[$8D:C4CD] $91E241 A9 01 00 LDA #$0001 $91E244 8D 88 0A STA $0A88 [$7E:0A88] $91E247 A9 00 98 LDA #$9800 $91E24A 8D 89 0A STA $0A89 [$7E:0A89] $91E24D 9C 8B 0A STZ $0A8B [$7E:0A8B] $91E250 A9 C8 98 LDA #$98C8 $91E253 8D 8C 0A STA $0A8C [$7E:0A8C] $91E256 A9 98 00 LDA #$0098 $91E259 8D 8E 0A STA $0A8E [$7E:0A8E] $91E25C A9 90 99 LDA #$9990 $91E25F 8D 8F 0A STA $0A8F [$7E:0A8F] $91E262 9C 91 0A STZ $0A91 [$7E:0A91] $91E265 9C 7A 0A STZ $0A7A [$7E:0A7A] $91E268 9C 7C 0A STZ $0A7C [$7E:0A7C] $91E26B 9C 7E 0A STZ $0A7E [$7E:0A7E] $91E26E 9C 84 0A STZ $0A84 [$7E:0A84] $91E271 9C 86 0A STZ $0A86 [$7E:0A86] $91E274 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E277 29 FF 00 AND #$00FF $91E27A C9 04 00 CMP #$0004 $91E27D F0 08 BEQ $08 [$E287] $91E27F A9 40 00 LDA #$0040 $91E282 8D 82 0A STA $0A82 [$7E:0A82] $91E285 80 06 BRA $06 [$E28D] $91E287 A9 C0 00 LDA #$00C0 $91E28A 8D 82 0A STA $0A82 [$7E:0A82] $91E28D AB PLB $91E28E 28 PLP $91E28F 38 SEC $91E290 6B RTL $91E291 db 01, 01, 00 $91E296 db 02, 00 $91E29F db 00, 00 $91E2AD 08 PHP $91E2AE C2 30 REP #$30 $91E2B0 AD 1F 0A LDA $0A1F [$7E:0A1F] $91E2B3 29 FF 00 AND #$00FF $91E2B6 C9 05 00 CMP #$0005 $91E2B9 F0 1B BEQ $1B [$E2D6] $91E2BB AD 1E 0A LDA $0A1E [$7E:0A1E] $91E2BE 29 FF 00 AND #$00FF $91E2C1 C9 04 00 CMP #$0004 $91E2C4 F0 08 BEQ $08 [$E2CE] $91E2C6 A9 01 00 LDA #$0001 $91E2C9 8D 1C 0A STA $0A1C [$7E:0A1C] $91E2CC 80 21 BRA $21 [$E2EF] $91E2CE A9 02 00 LDA #$0002 $91E2D1 8D 1C 0A STA $0A1C [$7E:0A1C] $91E2D4 80 19 BRA $19 [$E2EF] $91E2D6 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E2D9 29 FF 00 AND #$00FF $91E2DC C9 04 00 CMP #$0004 $91E2DF F0 08 BEQ $08 [$E2E9] $91E2E9 A9 28 00 LDA #$0028 $91E2EC 8D 1C 0A STA $0A1C [$7E:0A1C] $91E2EF 22 33 F4 91 JSL $91F433[$91:F433] $91E2F3 22 08 FB 91 JSL $91FB08[$91:FB08] $91E2F7 AD 20 0A LDA $0A20 [$7E:0A20] $91E2FA 8D 24 0A STA $0A24 [$7E:0A24] $91E2FD AD 22 0A LDA $0A22 [$7E:0A22] $91E300 8D 26 0A STA $0A26 [$7E:0A26] $91E303 AD 1C 0A LDA $0A1C [$7E:0A1C] $91E306 8D 20 0A STA $0A20 [$7E:0A20] $91E309 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E30C 8D 22 0A STA $0A22 [$7E:0A22] $91E30F A9 37 A3 LDA #$A337 $91E312 8D 58 0A STA $0A58 [$7E:0A58] $91E315 A9 13 E9 LDA #$E913 $91E318 8D 60 0A STA $0A60 [$7E:0A60] $91E31B A9 FF FF LDA #$FFFF $91E31E 8D 80 0A STA $0A80 [$7E:0A80] $91E321 AD 1C 0A LDA $0A1C [$7E:0A1C] $91E324 0A ASL A $91E325 0A ASL A $91E326 0A ASL A $91E327 AA TAX $91E328 BF 2F B6 91 LDA $91B62F,x[$91:B63F] $91E32C 29 FF 00 AND #$00FF $91E32F 38 SEC $91E330 ED 00 0B SBC $0B00 [$7E:0B00] $91E333 85 12 STA $12 [$7E:0012] $91E335 30 0C BMI $0C [$E343] $91E337 AD FA 0A LDA $0AFA [$7E:0AFA] $91E33A 38 SEC $91E33B E5 12 SBC $12 [$7E:0012] $91E33D 8D FA 0A STA $0AFA [$7E:0AFA] $91E340 8D 14 0B STA $0B14 [$7E:0B14] $91E343 22 00 80 86 JSL $868000[$86:8000] $91E347 22 AD 83 84 JSL $8483AD[$84:83AD] $91E34B 22 00 80 87 JSL $878000[$87:8000] $91E34F 22 C2 C4 8D JSL $8DC4C2[$8D:C4C2] $91E353 28 PLP $91E354 6B RTL ;;; Give ammo and all items ;;; $91E355 08 PHP $91E356 C2 30 REP #$30 $91E358 AD C5 05 LDA $05C5 [$7E:05C5] ;\ $91E35B 29 00 80 AND #$8000 ;| $91E35E D0 03 BNE $03 [$E363] ;} If not newly pressed B: branch to $E3EB $91E360 4C EB E3 JMP $E3EB [$91:E3EB] ;/ $91E363 AD F6 0D LDA $0DF6 [$7E:0DF6] ;\ $91E366 F0 03 BEQ $03 [$E36B] ;} If [$0DF6] != 0: clear $0DF6 and return $91E368 4C E8 E3 JMP $E3E8 [$91:E3E8] ;/ $91E36B A9 01 00 LDA #$0001 ;\ $91E36E 8D F6 0D STA $0DF6 [$7E:0DF6] ;} $0DF6 = 1 $91E371 AD A6 09 LDA $09A6 [$7E:09A6] ;\ $91E374 1A INC A ;} Equipped beams += 1 $91E375 8D A6 09 STA $09A6 [$7E:09A6] ;/ $91E378 29 FF 0F AND #$0FFF ;\ $91E37B C9 0C 00 CMP #$000C ;} If equipped beams >= spazer + plasma: $91E37E 30 09 BMI $09 [$E389] ;/ $91E380 AD A6 09 LDA $09A6 [$7E:09A6] ;\ $91E383 29 00 F0 AND #$F000 ;} Clear equipped beams $91E386 8D A6 09 STA $09A6 [$7E:09A6] ;/ $91E389 22 8D AC 90 JSL $90AC8D[$90:AC8D] ; Update beam graphics $91E38D A9 3F F3 LDA #$F33F ;\ $91E390 8D A4 09 STA $09A4 [$7E:09A4] ;} Equipped items = collected items = F33Fh (all of them + 0010h) $91E393 8D A2 09 STA $09A2 [$7E:09A2] ;/ $91E396 A9 84 03 LDA #$0384 ;\ $91E399 8D C8 09 STA $09C8 [$7E:09C8] ;} Current missiles = max missiles = 900 $91E39C 8D C6 09 STA $09C6 [$7E:09C6] ;/ $91E39F A9 5A 00 LDA #$005A ;\ $91E3A2 8D CC 09 STA $09CC [$7E:09CC] ;} Current super missiles = max super missiles = 90 $91E3A5 8D CA 09 STA $09CA [$7E:09CA] ;/ $91E3A8 A9 5A 00 LDA #$005A ;\ $91E3AB 8D D0 09 STA $09D0 [$7E:09D0] ;} Current power bombs = max power bombs = 90 $91E3AE 8D CE 09 STA $09CE [$7E:09CE] ;/ $91E3B1 A9 4B 04 LDA #$044B ;\ $91E3B4 8D C4 09 STA $09C4 [$7E:09C4] ;} Current health = max health = 1099 $91E3B7 8D C2 09 STA $09C2 [$7E:09C2] ;/ $91E3BA A9 F3 01 LDA #$01F3 ;\ $91E3BD 8D D6 09 STA $09D6 [$7E:09D6] ;} Current reserve tanks = 499 $91E3C0 9C D8 09 STZ $09D8 [$7E:09D8] ; Clear reserve missiles $91E3C3 A9 0F 10 LDA #$100F ;\ $91E3C6 8D A8 09 STA $09A8 [$7E:09A8] ;} Collected beams = 100Fh (all of them) $91E3C9 AD A6 09 LDA $09A6 [$7E:09A6] ;\ $91E3CC 09 00 10 ORA #$1000 ;} Equip charge beam $91E3CF 8D A6 09 STA $09A6 [$7E:09A6] ;/ $91E3D2 22 2E 9A 80 JSL $809A2E[$80:9A2E] ; Add grapple to HUD WRAM tilemap $91E3D6 22 3E 9A 80 JSL $809A3E[$80:9A3E] ; Add x-ray to HUD WRAM tilemap $91E3DA 22 CF 99 80 JSL $8099CF[$80:99CF] ; Add missiles to HUD WRAM tilemap $91E3DE 22 0E 9A 80 JSL $809A0E[$80:9A0E] ; Add super missiles to HUD WRAM tilemap $91E3E2 22 1E 9A 80 JSL $809A1E[$80:9A1E] ; Add power bombs to HUD WRAM tilemap $91E3E6 80 03 BRA $03 [$E3EB] ; Branch to $E3EB $91E3E8 9C F6 0D STZ $0DF6 [$7E:0DF6] $91E3EB AD F6 0D LDA $0DF6 [$7E:0DF6] ;\ $91E3EE F0 04 BEQ $04 [$E3F4] ;} If [$0DF6] != 0: $91E3F0 22 7A ED 92 JSL $92ED7A[$92:ED7A] ; Graphics $91E3F4 28 PLP $91E3F5 6B RTL ;;; ;;; $91E3F6 08 PHP $91E3F7 8B PHB $91E3F8 4B PHK $91E3F9 AB PLB $91E3FA C2 30 REP #$30 $91E3FC DA PHX $91E3FD AD A2 09 LDA $09A2 [$7E:09A2] $91E400 89 20 00 BIT #$0020 $91E403 D0 0D BNE $0D [$E412] $91E405 89 01 00 BIT #$0001 $91E408 D0 08 BNE $08 [$E412] $91E40A A9 00 00 LDA #$0000 $91E40D 8D 1C 0A STA $0A1C [$7E:0A1C] $91E410 80 06 BRA $06 [$E418] $91E412 A9 9B 00 LDA #$009B $91E415 8D 1C 0A STA $0A1C [$7E:0A1C] $91E418 22 33 F4 91 JSL $91F433[$91:F433] $91E41C 22 08 FB 91 JSL $91FB08[$91:FB08] $91E420 AD 20 0A LDA $0A20 [$7E:0A20] $91E423 8D 24 0A STA $0A24 [$7E:0A24] $91E426 AD 22 0A LDA $0A22 [$7E:0A22] $91E429 8D 26 0A STA $0A26 [$7E:0A26] $91E42C AD 1C 0A LDA $0A1C [$7E:0A1C] $91E42F 8D 20 0A STA $0A20 [$7E:0A20] $91E432 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E435 8D 22 0A STA $0A22 [$7E:0A22] $91E438 AD 00 0B LDA $0B00 [$7E:0B00] $91E43B C9 18 00 CMP #$0018 $91E43E F0 0D BEQ $0D [$E44D] $91E440 AD FA 0A LDA $0AFA [$7E:0AFA] $91E443 38 SEC $91E444 E9 03 00 SBC #$0003 $91E447 8D FA 0A STA $0AFA [$7E:0AFA] $91E44A 8D 14 0B STA $0B14 [$7E:0B14] $91E44D A9 13 E7 LDA #$E713 $91E450 8D 42 0A STA $0A42 [$7E:0A42] $91E453 A9 DC E8 LDA #$E8DC $91E456 8D 44 0A STA $0A44 [$7E:0A44] $91E459 A9 FF FF LDA #$FFFF $91E45C 8D 28 0A STA $0A28 [$7E:0A28] $91E45F 8D 2A 0A STA $0A2A [$7E:0A2A] $91E462 8D 2C 0A STA $0A2C [$7E:0A2C] $91E465 9C 2E 0A STZ $0A2E [$7E:0A2E] $91E468 9C 30 0A STZ $0A30 [$7E:0A30] $91E46B 9C 32 0A STZ $0A32 [$7E:0A32] $91E46E A9 1F 00 LDA #$001F $91E471 22 84 F0 90 JSL $90F084[$90:F084] $91E475 9C 42 0B STZ $0B42 [$7E:0B42] $91E478 9C 44 0B STZ $0B44 [$7E:0B44] $91E47B 9C 46 0B STZ $0B46 [$7E:0B46] $91E47E 9C 48 0B STZ $0B48 [$7E:0B48] $91E481 9C 2C 0B STZ $0B2C [$7E:0B2C] $91E484 9C 2E 0B STZ $0B2E [$7E:0B2E] $91E487 9C 36 0B STZ $0B36 [$7E:0B36] $91E48A 9C 20 0B STZ $0B20 [$7E:0B20] $91E48D 9C 4A 0B STZ $0B4A [$7E:0B4A] $91E490 9C D0 0C STZ $0CD0 [$7E:0CD0] $91E493 9C D6 0C STZ $0CD6 [$7E:0CD6] $91E496 9C D8 0C STZ $0CD8 [$7E:0CD8] $91E499 9C DA 0C STZ $0CDA [$7E:0CDA] $91E49C 9C DC 0C STZ $0CDC [$7E:0CDC] $91E49F 9C DE 0C STZ $0CDE [$7E:0CDE] $91E4A2 9C E0 0C STZ $0CE0 [$7E:0CE0] $91E4A5 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91E4A9 FA PLX $91E4AA AB PLB $91E4AB 28 PLP $91E4AC 6B RTL ;;; ;;; ; Some Mother Brain scripts $91E4AD 08 PHP $91E4AE 8B PHB $91E4AF 4B PHK $91E4B0 AB PLB $91E4B1 C2 30 REP #$30 $91E4B3 DA PHX $91E4B4 5A PHY $91E4B5 0A ASL A $91E4B6 AA TAX $91E4B7 FC EE E4 JSR ($E4EE,x)[$91:E4F8] $91E4BA 90 2D BCC $2D [$E4E9] $91E4BC AD 20 0A LDA $0A20 [$7E:0A20] $91E4BF 8D 24 0A STA $0A24 [$7E:0A24] $91E4C2 AD 22 0A LDA $0A22 [$7E:0A22] $91E4C5 8D 26 0A STA $0A26 [$7E:0A26] $91E4C8 AD 1C 0A LDA $0A1C [$7E:0A1C] $91E4CB 8D 20 0A STA $0A20 [$7E:0A20] $91E4CE AD 1E 0A LDA $0A1E [$7E:0A1E] $91E4D1 8D 22 0A STA $0A22 [$7E:0A22] $91E4D4 A9 FF FF LDA #$FFFF $91E4D7 8D 28 0A STA $0A28 [$7E:0A28] $91E4DA 8D 2A 0A STA $0A2A [$7E:0A2A] $91E4DD 8D 2C 0A STA $0A2C [$7E:0A2C] $91E4E0 9C 2E 0A STZ $0A2E [$7E:0A2E] $91E4E3 9C 30 0A STZ $0A30 [$7E:0A30] $91E4E6 9C 32 0A STZ $0A32 [$7E:0A32] $91E4E9 7A PLY $91E4EA FA PLX $91E4EB AB PLB $91E4EC 28 PLP $91E4ED 6B RTL $91E4EE dw E4F8, E571, E59B, E5F0, E60C ;;; ;;; $91E4F8 A9 15 00 LDA #$0015 $91E4FB 38 SEC $91E4FC ED 00 0B SBC $0B00 [$7E:0B00] $91E4FF 85 12 STA $12 [$7E:0012] $91E501 AD FA 0A LDA $0AFA [$7E:0AFA] $91E504 38 SEC $91E505 E5 12 SBC $12 [$7E:0012] $91E507 8D FA 0A STA $0AFA [$7E:0AFA] $91E50A 8D 14 0B STA $0B14 [$7E:0B14] $91E50D AD 1E 0A LDA $0A1E [$7E:0A1E] $91E510 29 FF 00 AND #$00FF $91E513 C9 04 00 CMP #$0004 $91E516 F0 08 BEQ $08 [$E520] $91E518 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91E520 A9 E9 00 LDA #$00E9 $91E523 8D 1C 0A STA $0A1C [$7E:0A1C] $91E526 A9 02 00 LDA #$0002 $91E529 8D 9A 0A STA $0A9A [$7E:0A9A] $91E52C 22 33 F4 91 JSL $91F433[$91:F433] $91E530 22 08 FB 91 JSL $91FB08[$91:FB08] $91E534 AD 1C 0A LDA $0A1C [$7E:0A1C] $91E537 0A ASL A $91E538 0A ASL A $91E539 0A ASL A $91E53A AA TAX $91E53B BD 2F B6 LDA $B62F,x[$91:BD77] $91E53E 29 FF 00 AND #$00FF $91E541 8D 00 0B STA $0B00 [$7E:0B00] $91E544 9C 46 0B STZ $0B46 [$7E:0B46] $91E547 9C 48 0B STZ $0B48 [$7E:0B48] $91E54A 9C 2C 0B STZ $0B2C [$7E:0B2C] $91E54D 9C 2E 0B STZ $0B2E [$7E:0B2E] $91E550 A9 02 00 LDA #$0002 $91E553 8D 36 0B STA $0B36 [$7E:0B36] $91E556 9C D0 0C STZ $0CD0 [$7E:0CD0] $91E559 9C D6 0C STZ $0CD6 [$7E:0CD6] $91E55C 9C D8 0C STZ $0CD8 [$7E:0CD8] $91E55F 9C DA 0C STZ $0CDA [$7E:0CDA] $91E562 9C DC 0C STZ $0CDC [$7E:0CDC] $91E565 9C DE 0C STZ $0CDE [$7E:0CDE] $91E568 9C E0 0C STZ $0CE0 [$7E:0CE0] $91E56B 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91E56F 38 SEC $91E570 60 RTS ;;; ;;; $91E571 A9 10 00 LDA #$0010 $91E574 8D 94 0A STA $0A94 [$7E:0A94] $91E577 9C 96 0A STZ $0A96 [$7E:0A96] $91E57A AD 1E 0A LDA $0A1E [$7E:0A1E] $91E57D 29 FF 00 AND #$00FF $91E580 C9 04 00 CMP #$0004 $91E583 F0 08 BEQ $08 [$E58D] $91E585 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91E58D A9 EB 00 LDA #$00EB $91E590 8D 1C 0A STA $0A1C [$7E:0A1C] $91E593 A9 0E E9 LDA #$E90E $91E596 8D 5A 0A STA $0A5A [$7E:0A5A] $91E599 38 SEC $91E59A 60 RTS ;;; ;;; $91E59B AD 1C 0A LDA $0A1C [$7E:0A1C] $91E59E C9 E8 00 CMP #$00E8 $91E5A1 F0 1D BEQ $1D [$E5C0] $91E5A3 C9 E9 00 CMP #$00E9 $91E5A6 F0 18 BEQ $18 [$E5C0] $91E5A8 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91E5C0 A9 01 00 LDA #$0001 $91E5C3 8D 94 0A STA $0A94 [$7E:0A94] $91E5C6 A9 0D 00 LDA #$000D $91E5C9 8D 96 0A STA $0A96 [$7E:0A96] $91E5CC AD 1C 0A LDA $0A1C [$7E:0A1C] $91E5CF 0A ASL A $91E5D0 0A ASL A $91E5D1 0A ASL A $91E5D2 AA TAX $91E5D3 BD 2F B6 LDA $B62F,x[$91:BD77] $91E5D6 29 FF 00 AND #$00FF $91E5D9 8D 00 0B STA $0B00 [$7E:0B00] $91E5DC 9C 46 0B STZ $0B46 [$7E:0B46] $91E5DF 9C 48 0B STZ $0B48 [$7E:0B48] $91E5E2 9C 2C 0B STZ $0B2C [$7E:0B2C] $91E5E5 9C 2E 0B STZ $0B2E [$7E:0B2E] $91E5E8 A9 02 00 LDA #$0002 $91E5EB 8D 36 0B STA $0B36 [$7E:0B36] $91E5EE 38 SEC $91E5EF 60 RTS ;;; Enable hyper beam ;;; $91E5F0 A9 09 10 LDA #$1009 ;\ $91E5F3 8D A6 09 STA $09A6 [$7E:09A6] ;} Equipped beams = wave/plasma | 1000h $91E5F6 22 8D AC 90 JSL $90AC8D[$90:AC8D] ; Update beam graphics $91E5FA A0 F0 E1 LDY #$E1F0 ;\ $91E5FD 22 E9 C4 8D JSL $8DC4E9[$8D:C4E9] ;} I'm guessing this sets up the FX $91E601 A9 00 80 LDA #$8000 ;\ $91E604 8D 76 0A STA $0A76 [$7E:0A76] ;} Enable hyper beam $91E607 9C C0 0D STZ $0DC0 [$7E:0DC0] $91E60A 18 CLC $91E60B 60 RTS ;;; ;;; $91E60C A9 10 00 LDA #$0010 $91E60F 8D 94 0A STA $0A94 [$7E:0A94] $91E612 A9 08 00 LDA #$0008 $91E615 8D 96 0A STA $0A96 [$7E:0A96] $91E618 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E61B 29 FF 00 AND #$00FF $91E61E C9 04 00 CMP #$0004 $91E621 F0 08 BEQ $08 [$E62B] $91E623 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $91E62B A9 E9 00 LDA #$00E9 $91E62E 8D 1C 0A STA $0A1C [$7E:0A1C] $91E631 38 SEC $91E632 60 RTS ;;; ;;; $91E633 08 PHP $91E634 8B PHB $91E635 4B PHK $91E636 AB PLB $91E637 C2 30 REP #$30 $91E639 AD 1F 0A LDA $0A1F [$7E:0A1F] $91E63C 29 FF 00 AND #$00FF $91E63F 0A ASL A $91E640 AA TAX $91E641 FC E1 E6 JSR ($E6E1,x)[$91:E732] $91E644 AD A2 09 LDA $09A2 [$7E:09A2] $91E647 89 00 20 BIT #$2000 $91E64A D0 23 BNE $23 [$E66F] $91E64C 9C AE 0A STZ $0AAE [$7E:0AAE] $91E64F 9C C0 0A STZ $0AC0 [$7E:0AC0] $91E652 9C C2 0A STZ $0AC2 [$7E:0AC2] $91E655 9C 3C 0B STZ $0B3C [$7E:0B3C] $91E658 9C 3E 0B STZ $0B3E [$7E:0B3E] $91E65B 9C CE 0A STZ $0ACE [$7E:0ACE] $91E65E 9C D0 0A STZ $0AD0 [$7E:0AD0] $91E661 9C B0 0A STZ $0AB0 [$7E:0AB0] $91E664 9C B2 0A STZ $0AB2 [$7E:0AB2] $91E667 9C B8 0A STZ $0AB8 [$7E:0AB8] $91E66A 9C BA 0A STZ $0ABA [$7E:0ABA] $91E66D 80 16 BRA $16 [$E685] $91E66F AD 3C 0B LDA $0B3C [$7E:0B3C] $91E672 F0 11 BEQ $11 [$E685] $91E674 AD 3E 0B LDA $0B3E [$7E:0B3E] $91E677 D0 0C BNE $0C [$E685] $91E685 AD 32 0D LDA $0D32 [$7E:0D32] $91E688 C9 F0 C4 CMP #$C4F0 $91E68B F0 10 BEQ $10 [$E69D] $91E69D AD A6 09 LDA $09A6 [$7E:09A6] $91E6A0 89 00 10 BIT #$1000 $91E6A3 D0 17 BNE $17 [$E6BC] $91E6A5 9C D0 0C STZ $0CD0 [$7E:0CD0] $91E6A8 9C D6 0C STZ $0CD6 [$7E:0CD6] $91E6AB 9C D8 0C STZ $0CD8 [$7E:0CD8] $91E6AE 9C DA 0C STZ $0CDA [$7E:0CDA] $91E6B1 9C DC 0C STZ $0CDC [$7E:0CDC] $91E6B4 9C DE 0C STZ $0CDE [$7E:0CDE] $91E6B7 9C E0 0C STZ $0CE0 [$7E:0CE0] $91E6BA 80 0F BRA $0F [$E6CB] $91E6BC AD D0 0C LDA $0CD0 [$7E:0CD0] $91E6BF C9 10 00 CMP #$0010 $91E6C2 30 07 BMI $07 [$E6CB] $91E6CB 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91E6CF AD C2 09 LDA $09C2 [$7E:09C2] $91E6D2 C9 1F 00 CMP #$001F $91E6D5 10 07 BPL $07 [$E6DE] $91E6DE AB PLB $91E6DF 28 PLP $91E6E0 6B RTL $91E6E1 db 33 $91E6E3 db 32 $91E6E5 db 32 $91E6EB db 32 $91E6ED db 32 $91E6F1 db 3A $91E703 db 67 $91E70B db 32 $91E717 db 32 $91E732 60 RTS $91E733 AD 1C 0A LDA $0A1C [$7E:0A1C] $91E736 C9 00 00 CMP #$0000 $91E739 F0 06 BEQ $06 [$E741] $91E73B C9 9B 00 CMP #$009B $91E73E F0 17 BEQ $17 [$E757] $91E740 60 RTS $91E83A AD A2 09 LDA $09A2 [$7E:09A2] $91E83D 89 02 00 BIT #$0002 $91E840 F0 24 BEQ $24 [$E866] $91E866 60 RTS $91E867 AD A2 09 LDA $09A2 [$7E:09A2] $91E86A 89 02 00 BIT #$0002 $91E86D D0 24 BNE $24 [$E893] $91E893 60 RTS ;;; Handles automatic transitions from collisions with blocks ;;; $91E8B6 08 PHP $91E8B7 8B PHB $91E8B8 4B PHK $91E8B9 AB PLB $91E8BA C2 30 REP #$30 $91E8BC AD C6 0D LDA $0DC6 [$7E:0DC6] $91E8BF F0 08 BEQ $08 [$E8C9] $91E8C1 29 FF 00 AND #$00FF $91E8C4 0A ASL A $91E8C5 AA TAX $91E8C6 FC CC E8 JSR ($E8CC,x)[$91:E931] $91E8C9 AB PLB $91E8CA 28 PLP $91E8CB 6B RTL $91E8CE db 31 $91E8D0 db F2 $91E8D4 db E5 $91E8D6 db BE ;;; ;;; $91E8E5 AD 1C 0A LDA $0A1C [$7E:0A1C] $91E8E8 8D 28 0A STA $0A28 [$7E:0A28] $91E8EB A9 05 00 LDA #$0005 $91E8EE 8D 2E 0A STA $0A2E [$7E:0A2E] $91E8F1 60 RTS ;;; ;;; $91E8F2 AD C7 0D LDA $0DC7 [$7E:0DC7] $91E8F5 29 FF 00 AND #$00FF $91E8F8 C9 04 00 CMP #$0004 $91E8FB D0 01 BNE $01 [$E8FE] $91E8FD 60 RTS $91E8FE 0A ASL A $91E8FF 0A ASL A $91E900 AA TAX $91E901 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E904 29 FF 00 AND #$00FF $91E907 C9 04 00 CMP #$0004 $91E90A F0 08 BEQ $08 [$E914] $91E90C BD 21 E9 LDA $E921,x[$91:E921] $91E90F 8D 28 0A STA $0A28 [$7E:0A28] $91E912 80 06 BRA $06 [$E91A] $91E914 BD 23 E9 LDA $E923,x[$91:E923] $91E917 8D 28 0A STA $0A28 [$7E:0A28] $91E91A A9 05 00 LDA #$0005 $91E91D 8D 2E 0A STA $0A2E [$7E:0A2E] $91E920 60 RTS $91E921 db 29, 00, 2A, 00, 31, 00, 32, 00 $91E92D db 7D, 00, 7E, 00 $91E931 AD C7 0D LDA $0DC7 [$7E:0DC7] $91E934 29 FF 00 AND #$00FF $91E937 C9 04 00 CMP #$0004 $91E93A F0 14 BEQ $14 [$E950] $91E93C 0A ASL A $91E93D AA TAX $91E93E FC 51 E9 JSR ($E951,x)[$91:E95D] $91E941 90 07 BCC $07 [$E94A] $91E94A A9 05 00 LDA #$0005 $91E94D 8D 2E 0A STA $0A2E [$7E:0A2E] $91E950 60 RTS $91E951 db 5D $91E953 db 07 $91E957 db 63 $91E95D AD 23 0A LDA $0A23 [$7E:0A23] $91E960 29 FF 00 AND #$00FF $91E963 C9 03 00 CMP #$0003 $91E966 F0 70 BEQ $70 [$E9D8] $91E968 C9 14 00 CMP #$0014 $91E96B F0 6B BEQ $6B [$E9D8] $91E96D AD 1C 0A LDA $0A1C [$7E:0A1C] $91E970 0A ASL A $91E971 0A ASL A $91E972 0A ASL A $91E973 AA TAX $91E974 BD 2C B6 LDA $B62C,x[$91:B77C] $91E977 29 FF 00 AND #$00FF $91E97A C9 FF 00 CMP #$00FF $91E97D F0 3E BEQ $3E [$E9BD] $91E97F C9 02 00 CMP #$0002 $91E982 F0 17 BEQ $17 [$E99B] $91E984 C9 07 00 CMP #$0007 $91E987 F0 12 BEQ $12 [$E99B] $91E989 0A ASL A $91E98A AA TAX $91E98B BD F3 E9 LDA $E9F3,x[$91:EA01] $91E98E 8D 28 0A STA $0A28 [$7E:0A28] $91E991 18 CLC $91E992 60 RTS $91E993 BD 2C B6 LDA $B62C,x[$91:B77C] $91E996 29 FF 00 AND #$00FF $91E999 80 EE BRA $EE [$E989] $91E99B A5 8B LDA $8B [$7E:008B] $91E99D 2C B2 09 BIT $09B2 [$7E:09B2] $91E9A0 F0 F1 BEQ $F1 [$E993] $91E9A2 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E9A5 29 FF 00 AND #$00FF $91E9A8 C9 04 00 CMP #$0004 $91E9AB F0 08 BEQ $08 [$E9B5] $91E9AD A9 E6 00 LDA #$00E6 $91E9B0 8D 28 0A STA $0A28 [$7E:0A28] $91E9B3 18 CLC $91E9B4 60 RTS $91E9B5 A9 E7 00 LDA #$00E7 $91E9B8 8D 28 0A STA $0A28 [$7E:0A28] $91E9BB 18 CLC $91E9BC 60 RTS ;;; ;;; $91E9BD AD 1E 0A LDA $0A1E [$7E:0A1E] $91E9C0 29 FF 00 AND #$00FF $91E9C3 C9 04 00 CMP #$0004 $91E9C6 F0 08 BEQ $08 [$E9D0] $91E9C8 A9 A4 00 LDA #$00A4 $91E9CB 8D 28 0A STA $0A28 [$7E:0A28] $91E9CE 18 CLC $91E9CF 60 RTS $91E9D0 A9 A5 00 LDA #$00A5 $91E9D3 8D 28 0A STA $0A28 [$7E:0A28] $91E9D6 18 CLC $91E9D7 60 RTS ;;; ;;; $91E9D8 AD 1E 0A LDA $0A1E [$7E:0A1E] $91E9DB 29 FF 00 AND #$00FF $91E9DE C9 04 00 CMP #$0004 $91E9E1 F0 08 BEQ $08 [$E9EB] $91E9E3 A9 A6 00 LDA #$00A6 $91E9E6 8D 28 0A STA $0A28 [$7E:0A28] $91E9E9 18 CLC $91E9EA 60 RTS $91E9EB A9 A7 00 LDA #$00A7 $91E9EE 8D 28 0A STA $0A28 [$7E:0A28] $91E9F1 18 CLC $91E9F2 60 RTS $91E9F3 db E0, 00, E2, 00, A4, 00, E4, 00, A4, 00, A5, 00, E5, 00, A5, 00, E3, 00, E1, 00 $91EA07 AD 20 0B LDA $0B20 [$7E:0B20] $91EA0A 0A ASL A $91EA0B AA TAX $91EA0C 7C 0F EA JMP ($EA0F,x)[$91:EA15] $91EA0F db 15 $91EA11 db 25 $91EA13 db 2D $91EA15 AD 2E 0B LDA $0B2E [$7E:0B2E] $91EA18 C9 03 00 CMP #$0003 $91EA1B 30 10 BMI $10 [$EA2D] $91EA1D AD 1C 0A LDA $0A1C [$7E:0A1C] $91EA20 8D 28 0A STA $0A28 [$7E:0A28] $91EA23 18 CLC $91EA24 60 RTS $91EA25 AD 1C 0A LDA $0A1C [$7E:0A1C] $91EA28 8D 28 0A STA $0A28 [$7E:0A28] $91EA2B 18 CLC $91EA2C 60 RTS $91EA2D AD 1E 0A LDA $0A1E [$7E:0A1E] $91EA30 29 FF 00 AND #$00FF $91EA33 C9 04 00 CMP #$0004 $91EA36 F0 08 BEQ $08 [$EA40] $91EA38 A9 1D 00 LDA #$001D $91EA3B 8D 28 0A STA $0A28 [$7E:0A28] $91EA3E 80 06 BRA $06 [$EA46] $91EA40 A9 41 00 LDA #$0041 $91EA43 8D 28 0A STA $0A28 [$7E:0A28] $91EA46 18 CLC $91EA47 60 RTS $91EA63 A5 8B LDA $8B [$7E:008B] $91EA65 2C B4 09 BIT $09B4 [$7E:09B4] $91EA68 F0 08 BEQ $08 [$EA72] $91EA6A AD 1C 0A LDA $0A1C [$7E:0A1C] $91EA6D 8D 28 0A STA $0A28 [$7E:0A28] $91EA70 18 CLC $91EA71 60 RTS $91EA72 AD 20 0B LDA $0B20 [$7E:0B20] $91EA75 29 FF 00 AND #$00FF $91EA78 0A ASL A $91EA79 AA TAX $91EA7A 7C 7D EA JMP ($EA7D,x)[$91:EA83] $91EA7D db 83 $91EA7F db 93 $91EA81 db 9B $91EA83 AD 2E 0B LDA $0B2E [$7E:0B2E] $91EA86 C9 03 00 CMP #$0003 $91EA89 30 10 BMI $10 [$EA9B] $91EA8B AD 1C 0A LDA $0A1C [$7E:0A1C] $91EA8E 8D 28 0A STA $0A28 [$7E:0A28] $91EA91 18 CLC $91EA92 60 RTS $91EA93 AD 1C 0A LDA $0A1C [$7E:0A1C] $91EA96 8D 28 0A STA $0A28 [$7E:0A28] $91EA99 18 CLC $91EA9A 60 RTS $91EA9B AD 1E 0A LDA $0A1E [$7E:0A1E] $91EA9E 29 FF 00 AND #$00FF $91EAA1 C9 04 00 CMP #$0004 $91EAA4 F0 08 BEQ $08 [$EAAE] $91EAA6 A9 79 00 LDA #$0079 $91EAA9 8D 28 0A STA $0A28 [$7E:0A28] $91EAAC 80 06 BRA $06 [$EAB4] $91EAAE A9 7A 00 LDA #$007A $91EAB1 8D 28 0A STA $0A28 [$7E:0A28] $91EAB4 18 CLC $91EAB5 60 RTS $91EABE AD 1E 0A LDA $0A1E [$7E:0A1E] $91EAC1 29 FF 00 AND #$00FF $91EAC4 C9 04 00 CMP #$0004 $91EAC7 F0 08 BEQ $08 [$EAD1] $91EAC9 A9 83 00 LDA #$0083 $91EACC 8D 28 0A STA $0A28 [$7E:0A28] $91EACF 80 06 BRA $06 [$EAD7] $91EAD1 A9 84 00 LDA #$0084 $91EAD4 8D 28 0A STA $0A28 [$7E:0A28] $91EAD7 A9 05 00 LDA #$0005 $91EADA 8D 2E 0A STA $0A2E [$7E:0A2E] $91EADD 60 RTS ;;; ;;; ; Check to see if Samus walked/ran into something. ; If so, change to the appropriate pose; 91:EB74,X, X = 2*(aiming direction). ; Also checks if Samus is trying to walk/run into something $91EADE AD CE 0D LDA $0DCE [$7E:0DCE] $91EAE1 F0 0B BEQ $0B [$EAEE] $91EAE3 AD 1F 0A LDA $0A1F [$7E:0A1F] $91EAE6 29 FF 00 AND #$00FF $91EAE9 C9 01 00 CMP #$0001 $91EAEC F0 65 BEQ $65 [$EB53] $91EAEE AD 28 0A LDA $0A28 [$7E:0A28] $91EAF1 C9 FF FF CMP #$FFFF $91EAF4 F0 74 BEQ $74 [$EB6A] $91EAF6 0A ASL A $91EAF7 0A ASL A $91EAF8 0A ASL A $91EAF9 AA TAX $91EAFA BD 2A B6 LDA $B62A,x[$91:B63A] $91EAFD 29 FF 00 AND #$00FF $91EB00 C9 01 00 CMP #$0001 $91EB03 D0 65 BNE $65 [$EB6A] $91EB05 AD 1E 0A LDA $0A1E [$7E:0A1E] $91EB08 29 FF 00 AND #$00FF $91EB0B C9 04 00 CMP #$0004 $91EB0E F0 1D BEQ $1D [$EB2D] $91EB10 A9 01 00 LDA #$0001 $91EB13 85 12 STA $12 [$7E:0012] $91EB15 8D 02 0B STA $0B02 [$7E:0B02] $91EB18 64 14 STZ $14 [$7E:0014] $91EB1A 22 F0 A8 A0 JSL $A0A8F0[$A0:A8F0] $91EB1E AA TAX $91EB1F D0 2D BNE $2D [$EB4E] $91EB21 A9 01 00 LDA #$0001 $91EB24 85 12 STA $12 [$7E:0012] $91EB26 8D 02 0B STA $0B02 [$7E:0B02] $91EB29 64 14 STZ $14 [$7E:0014] $91EB2B 80 1B BRA $1B [$EB48] $91EB2D A9 01 00 LDA #$0001 $91EB30 85 12 STA $12 [$7E:0012] $91EB32 64 14 STZ $14 [$7E:0014] $91EB34 9C 02 0B STZ $0B02 [$7E:0B02] $91EB37 22 F0 A8 A0 JSL $A0A8F0[$A0:A8F0] $91EB3B AA TAX $91EB3C D0 10 BNE $10 [$EB4E] $91EB3E A9 FF FF LDA #$FFFF $91EB41 85 12 STA $12 [$7E:0012] $91EB43 64 14 STZ $14 [$7E:0014] $91EB45 9C 02 0B STZ $0B02 [$7E:0B02] $91EB48 22 1E 97 94 JSL $94971E[$94:971E] $91EB4C 90 1C BCC $1C [$EB6A] $91EB4E AD 28 0A LDA $0A28 [$7E:0A28] $91EB51 80 03 BRA $03 [$EB56] $91EB53 AD 1C 0A LDA $0A1C [$7E:0A1C] $91EB56 0A ASL A $91EB57 0A ASL A $91EB58 0A ASL A $91EB59 AA TAX $91EB5A BD 2C B6 LDA $B62C,x[$91:B674] $91EB5D 29 FF 00 AND #$00FF $91EB60 0A ASL A $91EB61 AA TAX $91EB62 BD 74 EB LDA $EB74,x[$91:EB78] $91EB65 8D 28 0A STA $0A28 [$7E:0A28] $91EB68 80 05 BRA $05 [$EB6F] $91EB6A 9C CE 0D STZ $0DCE [$7E:0DCE] $91EB6D 18 CLC $91EB6E 60 RTS $91EB6F 9C CE 0D STZ $0DCE [$7E:0DCE] $91EB72 38 SEC $91EB73 60 RTS $91EB76 db CF, 00, 89, 00, D1, 00 $91EB80 db D2, 00, 8A, 00, D0, 00 ;;; ;;; ; Handles ALL transitions? Doesn't handle space jumping, but everything else with 0A1C? ; 0A2C takes priority (unless dead), then 0A2A, then 0A28. I think. Assuming that. ; If 0A2C is used, JSL 91:F433 and 91:FB08, and JSR $EC3E,X (X = 0A32). ; If 0A2A is used, JSL 91:F404, then if CLC, JSR $EC28,X (X = 0A30). ; If neither are used, JSR $EADE ; If 0A28 is used, JSL 91:F404, then if CLC, JSR $EC16,X (X = 0A28). ; If any are used, update 7E:0A20 - 7E:0A27 $91EB88 08 PHP $91EB89 8B PHB $91EB8A 4B PHK $91EB8B AB PLB $91EB8C C2 30 REP #$30 $91EB8E AD 2C 0A LDA $0A2C [$7E:0A2C] $91EB91 30 32 BMI $32 [$EBC5] $91EB93 48 PHA $91EB94 AD 32 0A LDA $0A32 [$7E:0A32] $91EB97 C9 03 00 CMP #$0003 $91EB9A F0 08 BEQ $08 [$EBA4] $91EB9C C9 01 00 CMP #$0001 $91EB9F D0 0E BNE $0E [$EBAF] $91EBA1 68 PLA $91EBA2 80 17 BRA $17 [$EBBB] $91EBA4 AD 30 0A LDA $0A30 [$7E:0A30] $91EBA7 C9 09 00 CMP #$0009 $91EBAA D0 03 BNE $03 [$EBAF] $91EBAF 68 PLA $91EBB0 8D 1C 0A STA $0A1C [$7E:0A1C] $91EBB3 22 33 F4 91 JSL $91F433[$91:F433] $91EBB7 22 08 FB 91 JSL $91FB08[$91:FB08] $91EBBB AD 32 0A LDA $0A32 [$7E:0A32] $91EBBE 0A ASL A $91EBBF AA TAX $91EBC0 FC 3E EC JSR ($EC3E,x)[$91:F31D] $91EBC3 80 33 BRA $33 [$EBF8] $91EBC5 AD 2A 0A LDA $0A2A [$7E:0A2A] $91EBC8 10 0A BPL $0A [$EBD4] $91EBCA 20 DE EA JSR $EADE [$91:EADE] $91EBCD AD 28 0A LDA $0A28 [$7E:0A28] $91EBD0 30 3E BMI $3E [$EC10] $91EBD2 80 13 BRA $13 [$EBE7] $91EBD4 8D 1C 0A STA $0A1C [$7E:0A1C] $91EBD7 22 04 F4 91 JSL $91F404[$91:F404] $91EBDB B0 1B BCS $1B [$EBF8] $91EBDD AD 30 0A LDA $0A30 [$7E:0A30] $91EBE0 0A ASL A $91EBE1 AA TAX $91EBE2 FC 28 EC JSR ($EC28,x)[$91:ED4E] $91EBE5 80 11 BRA $11 [$EBF8] $91EBE7 8D 1C 0A STA $0A1C [$7E:0A1C] $91EBEA 22 04 F4 91 JSL $91F404[$91:F404] $91EBEE B0 08 BCS $08 [$EBF8] $91EBF0 AD 2E 0A LDA $0A2E [$7E:0A2E] $91EBF3 0A ASL A $91EBF4 AA TAX $91EBF5 FC 16 EC JSR ($EC16,x)[$91:ECD0] $91EBF8 AD 20 0A LDA $0A20 [$7E:0A20] $91EBFB 8D 24 0A STA $0A24 [$7E:0A24] $91EBFE AD 22 0A LDA $0A22 [$7E:0A22] $91EC01 8D 26 0A STA $0A26 [$7E:0A26] $91EC04 AD 1C 0A LDA $0A1C [$7E:0A1C] $91EC07 8D 20 0A STA $0A20 [$7E:0A20] $91EC0A AD 1E 0A LDA $0A1E [$7E:0A1E] $91EC0D 8D 22 0A STA $0A22 [$7E:0A22] $91EC10 9C C6 0D STZ $0DC6 [$7E:0DC6] $91EC13 AB PLB $91EC14 28 PLP $91EC15 6B RTL $91EC16 db C3 $91EC18 db 50 $91EC1A db D0 $91EC20 db C4 $91EC22 db 85 $91EC24 db DA $91EC26 db 8E $91EC2A db 4E $91EC2E db 80 $91EC32 db A6 $91EC3A db 4F $91EC3E db C3 $91EC40 db 1D $91EC42 db 4E $91EC44 db 6E $91EC4C db AA $91EC50 AD 46 0B LDA $0B46 [$7E:0B46] $91EC53 D0 08 BNE $08 [$EC5D] $91EC55 AD 48 0B LDA $0B48 [$7E:0B48] $91EC58 D0 03 BNE $03 [$EC5D] $91EC5A 4C D0 EC JMP $ECD0 [$91:ECD0] $91EC5D AD 44 0B LDA $0B44 [$7E:0B44] $91EC60 18 CLC $91EC61 6D 48 0B ADC $0B48 [$7E:0B48] $91EC64 8D 48 0B STA $0B48 [$7E:0B48] $91EC67 AD 42 0B LDA $0B42 [$7E:0B42] $91EC6A 6D 46 0B ADC $0B46 [$7E:0B46] $91EC6D 8D 46 0B STA $0B46 [$7E:0B46] $91EC70 A9 02 00 LDA #$0002 $91EC73 8D 4A 0B STA $0B4A [$7E:0B4A] $91EC76 22 53 DE 91 JSL $91DE53[$91:DE53] $91EC7A 9C 44 0B STZ $0B44 [$7E:0B44] $91EC7D 9C 42 0B STZ $0B42 [$7E:0B42] $91EC80 22 8E FB 91 JSL $91FB8E[$91:FB8E] $91EC84 60 RTS $91EC85 9C 4A 0B STZ $0B4A [$7E:0B4A] $91EC88 9C 46 0B STZ $0B46 [$7E:0B46] $91EC8B 9C 48 0B STZ $0B48 [$7E:0B48] $91EC8E 22 53 DE 91 JSL $91DE53[$91:DE53] $91EC92 9C 44 0B STZ $0B44 [$7E:0B44] $91EC95 9C 42 0B STZ $0B42 [$7E:0B42] $91EC98 22 8E FB 91 JSL $91FB8E[$91:FB8E] $91EC9C 60 RTS $91ECD0 9C 4A 0B STZ $0B4A [$7E:0B4A] $91ECD3 22 53 DE 91 JSL $91DE53[$91:DE53] $91ECD7 60 RTS ;;; ;;; ; Run during start of transitions. ; Corrects Samus's height so crouching/morphing ends on ground instead of in the air $91ECDA AD 1C 0A LDA $0A1C [$7E:0A1C] $91ECDD C9 DB 00 CMP #$00DB $91ECE0 10 41 BPL $41 [$ED23] $91ECE2 38 SEC $91ECE3 E9 35 00 SBC #$0035 $91ECE6 0A ASL A $91ECE7 AA TAX $91ECE8 BD 36 ED LDA $ED36,x[$91:ED36] $91ECEB 85 12 STA $12 [$7E:0012] $91ECED F0 16 BEQ $16 [$ED05] $91ECEF 64 14 STZ $14 [$7E:0014] $91ECF1 AD 1C 0A LDA $0A1C [$7E:0A1C] $91ECF4 0A ASL A $91ECF5 0A ASL A $91ECF6 0A ASL A $91ECF7 AA TAX $91ECF8 BD 2F B6 LDA $B62F,x[$91:B7D7] $91ECFB 29 FF 00 AND #$00FF $91ECFE 8D 00 0B STA $0B00 [$7E:0B00] $91ED01 22 AB 96 94 JSL $9496AB[$94:96AB] $91ED05 AD FA 0A LDA $0AFA [$7E:0AFA] $91ED08 18 CLC $91ED09 65 12 ADC $12 [$7E:0012] $91ED0B 8D FA 0A STA $0AFA [$7E:0AFA] $91ED0E 8D 14 0B STA $0B14 [$7E:0B14] $91ED11 AD 20 0B LDA $0B20 [$7E:0B20] $91ED14 F0 0C BEQ $0C [$ED22] $91ED16 9C 20 0B STZ $0B20 [$7E:0B20] $91ED19 9C 2C 0B STZ $0B2C [$7E:0B2C] $91ED1C 9C 2E 0B STZ $0B2E [$7E:0B2E] $91ED1F 9C 36 0B STZ $0B36 [$7E:0B36] $91ED22 60 RTS $91ED23 C9 F1 00 CMP #$00F1 $91ED26 30 FA BMI $FA [$ED22] $91ED28 C9 F7 00 CMP #$00F7 $91ED2B 10 F5 BPL $F5 [$ED22] $91ED2D A9 05 00 LDA #$0005 $91ED30 85 12 STA $12 [$7E:0012] $91ED32 64 14 STZ $14 [$7E:0014] $91ED34 80 BB BRA $BB [$ECF1] $91ED36 db 05, 00, 05, 00, 09, 00, 09, 00 $91ED42 db 00, 00, 00, 00, 00, 00, 00, 00 $91ED4E AD 23 0A LDA $0A23 [$7E:0A23] $91ED51 29 FF 00 AND #$00FF $91ED54 0A ASL A $91ED55 AA TAX $91ED56 FC 6A ED JSR ($ED6A,x)[$91:EDB0] $91ED59 22 D6 99 90 JSL $9099D6[$90:99D6] $91ED5D 9C 56 0A STZ $0A56 [$7E:0A56] $91ED60 9C 6E 0A STZ $0A6E [$7E:0A6E] $91ED63 A9 01 00 LDA #$0001 $91ED66 8D 48 0A STA $0A48 [$7E:0A48] $91ED69 60 RTS $91ED6A db B0 $91ED6C db B0 $91ED6E db B0 $91ED70 db B0 $91ED72 db 27 $91ED74 db B0 $91ED76 db A6 $91ED7A db 27 $91ED8A db B0 $91ED8C db 27 $91ED8E db 27 $91ED90 db 27 $91ED92 db B0 $91ED94 db B0 $91EDA6 AD 5A 0A LDA $0A5A [$7E:0A5A] $91EDA9 C9 1B E4 CMP #$E41B $91EDAC D0 02 BNE $02 [$EDB0] $91EDB0 AD 1E 0A LDA $0A1E [$7E:0A1E] $91EDB3 29 FF 00 AND #$00FF $91EDB6 C9 04 00 CMP #$0004 $91EDB9 F0 33 BEQ $33 [$EDEE] $91EDBB AD 54 0A LDA $0A54 [$7E:0A54] $91EDBE F0 17 BEQ $17 [$EDD7] $91EDC0 A5 8B LDA $8B [$7E:008B] $91EDC2 89 00 01 BIT #$0100 $91EDC5 D0 08 BNE $08 [$EDCF] $91EDC7 A9 02 00 LDA #$0002 $91EDCA 8D 52 0A STA $0A52 [$7E:0A52] $91EDCD 80 50 BRA $50 [$EE1F] $91EDCF A9 05 00 LDA #$0005 $91EDD2 8D 52 0A STA $0A52 [$7E:0A52] $91EDD5 80 48 BRA $48 [$EE1F] $91EDD7 A5 8B LDA $8B [$7E:008B] $91EDD9 89 00 01 BIT #$0100 $91EDDC D0 08 BNE $08 [$EDE6] $91EDDE A9 01 00 LDA #$0001 $91EDE1 8D 52 0A STA $0A52 [$7E:0A52] $91EDE4 80 39 BRA $39 [$EE1F] $91EDE6 A9 04 00 LDA #$0004 $91EDE9 8D 52 0A STA $0A52 [$7E:0A52] $91EDEC 80 31 BRA $31 [$EE1F] $91EDEE AD 54 0A LDA $0A54 [$7E:0A54] $91EDF1 F0 17 BEQ $17 [$EE0A] $91EDF3 A5 8B LDA $8B [$7E:008B] $91EDF5 89 00 02 BIT #$0200 $91EDF8 D0 08 BNE $08 [$EE02] $91EDFA A9 02 00 LDA #$0002 $91EDFD 8D 52 0A STA $0A52 [$7E:0A52] $91EE00 80 1D BRA $1D [$EE1F] $91EE02 A9 05 00 LDA #$0005 $91EE05 8D 52 0A STA $0A52 [$7E:0A52] $91EE08 80 15 BRA $15 [$EE1F] $91EE0A A5 8B LDA $8B [$7E:008B] $91EE0C 89 00 02 BIT #$0200 $91EE0F D0 08 BNE $08 [$EE19] $91EE11 A9 01 00 LDA #$0001 $91EE14 8D 52 0A STA $0A52 [$7E:0A52] $91EE17 80 06 BRA $06 [$EE1F] $91EE19 A9 04 00 LDA #$0004 $91EE1C 8D 52 0A STA $0A52 [$7E:0A52] $91EE1F A9 38 DF LDA #$DF38 $91EE22 8D 58 0A STA $0A58 [$7E:0A58] $91EE25 38 SEC $91EE26 60 RTS $91EE27 AD 1E 0A LDA $0A1E [$7E:0A1E] $91EE2A 29 FF 00 AND #$00FF $91EE2D C9 04 00 CMP #$0004 $91EE30 F0 08 BEQ $08 [$EE3A] $91EE32 A9 02 00 LDA #$0002 $91EE35 8D 52 0A STA $0A52 [$7E:0A52] $91EE38 80 06 BRA $06 [$EE40] $91EE3A A9 01 00 LDA #$0001 $91EE3D 8D 52 0A STA $0A52 [$7E:0A52] $91EE40 A9 38 DF LDA #$DF38 $91EE43 8D 58 0A STA $0A58 [$7E:0A58] $91EE46 18 CLC $91EE47 60 RTS $91EE80 AD 56 0A LDA $0A56 [$7E:0A56] $91EE83 29 FF 00 AND #$00FF $91EE86 09 00 08 ORA #$0800 $91EE89 8D 56 0A STA $0A56 [$7E:0A56] $91EE8C A9 25 E0 LDA #$E025 $91EE8F 8D 58 0A STA $0A58 [$7E:0A58] $91EE92 AD 60 0A LDA $0A60 [$7E:0A60] $91EE95 C9 1D E9 CMP #$E91D $91EE98 F0 06 BEQ $06 [$EEA0] $91EE9A A9 0E E9 LDA #$E90E $91EE9D 8D 60 0A STA $0A60 [$7E:0A60] $91EEA0 60 RTS $91EEA6 AD 1F 0A LDA $0A1F [$7E:0A1F] $91EEA9 29 FF 00 AND #$00FF $91EEAC F0 10 BEQ $10 [$EEBE] $91EEAE C9 05 00 CMP #$0005 $91EEB1 F0 26 BEQ $26 [$EED9] $91EEBE AD 1E 0A LDA $0A1E [$7E:0A1E] $91EEC1 29 FF 00 AND #$00FF $91EEC4 C9 04 00 CMP #$0004 $91EEC7 F0 08 BEQ $08 [$EED1] $91EEC9 A9 40 00 LDA #$0040 $91EECC 8D 82 0A STA $0A82 [$7E:0A82] $91EECF 80 21 BRA $21 [$EEF2] $91EED1 A9 C0 00 LDA #$00C0 $91EED4 8D 82 0A STA $0A82 [$7E:0A82] $91EED7 80 19 BRA $19 [$EEF2] $91EED9 AD 1E 0A LDA $0A1E [$7E:0A1E] $91EEDC 29 FF 00 AND #$00FF $91EEDF C9 04 00 CMP #$0004 $91EEE2 F0 08 BEQ $08 [$EEEC] $91EEEC A9 C0 00 LDA #$00C0 $91EEEF 8D 82 0A STA $0A82 [$7E:0A82] $91EEF2 A9 02 00 LDA #$0002 $91EEF5 8D 96 0A STA $0A96 [$7E:0A96] $91EEF8 A9 3F 00 LDA #$003F $91EEFB 8D 94 0A STA $0A94 [$7E:0A94] $91EEFE A9 4F E9 LDA #$E94F $91EF01 8D 58 0A STA $0A58 [$7E:0A58] $91EF04 A9 18 E9 LDA #$E918 $91EF07 8D 60 0A STA $0A60 [$7E:0A60] $91EF0A A9 08 00 LDA #$0008 $91EF0D 8D CC 0A STA $0ACC [$7E:0ACC] $91EF10 A9 01 00 LDA #$0001 $91EF13 8D D0 0A STA $0AD0 [$7E:0AD0] $91EF16 9C CE 0A STZ $0ACE [$7E:0ACE] $91EF19 9C 68 0A STZ $0A68 [$7E:0A68] $91EF1C 9C D0 0C STZ $0CD0 [$7E:0CD0] $91EF1F 9C D6 0C STZ $0CD6 [$7E:0CD6] $91EF22 9C D8 0C STZ $0CD8 [$7E:0CD8] $91EF25 9C DA 0C STZ $0CDA [$7E:0CDA] $91EF28 9C DC 0C STZ $0CDC [$7E:0CDC] $91EF2B 9C DE 0C STZ $0CDE [$7E:0CDE] $91EF2E 9C E0 0C STZ $0CE0 [$7E:0CE0] $91EF31 A9 09 00 LDA #$0009 $91EF34 22 49 90 80 JSL $809049[$80:9049] $91EF38 60 RTS $91EF4F 22 95 BD 9B JSL $9BBD95[$9B:BD95] $91EF53 AD F6 0A LDA $0AF6 [$7E:0AF6] $91EF56 38 SEC $91EF57 ED 10 0B SBC $0B10 [$7E:0B10] $91EF5A 30 11 BMI $11 [$EF6D] $91EF5C C9 0D 00 CMP #$000D $91EF5F 30 1B BMI $1B [$EF7C] $91EF6D C9 F4 FF CMP #$FFF4 $91EF70 10 0A BPL $0A [$EF7C] $91EF7C AD FA 0A LDA $0AFA [$7E:0AFA] $91EF7F 38 SEC $91EF80 ED 14 0B SBC $0B14 [$7E:0B14] $91EF83 30 11 BMI $11 [$EF96] $91EF85 C9 0D 00 CMP #$000D $91EF88 30 1B BMI $1B [$EFA5] $91EF96 C9 F4 FF CMP #$FFF4 $91EF99 10 0A BPL $0A [$EFA5] $91EFA5 22 53 DE 91 JSL $91DE53[$91:DE53] $91EFA9 9C 46 0B STZ $0B46 [$7E:0B46] $91EFAC 9C 48 0B STZ $0B48 [$7E:0B48] $91EFAF 9C 2C 0B STZ $0B2C [$7E:0B2C] $91EFB2 9C 2E 0B STZ $0B2E [$7E:0B2E] $91EFB5 9C 42 0B STZ $0B42 [$7E:0B42] $91EFB8 9C 44 0B STZ $0B44 [$7E:0B44] $91EFBB 60 RTS $91EFC3 60 RTS $91EFC4 AD C6 0D LDA $0DC6 [$7E:0DC6] $91EFC7 29 FF 00 AND #$00FF $91EFCA 0A ASL A $91EFCB AA TAX $91EFCC FC D0 EF JSR ($EFD0,x)[$91:EFEF] $91EFCF 60 RTS $91EFD2 db 10 $91EFD4 db EF $91EFD8 db DF $91EFDA db D3 $91EFDF 9C 2C 0B STZ $0B2C [$7E:0B2C] $91EFE2 9C 2E 0B STZ $0B2E [$7E:0B2E] $91EFE5 9C 1A 0B STZ $0B1A [$7E:0B1A] $91EFE8 A9 02 00 LDA #$0002 $91EFEB 8D 36 0B STA $0B36 [$7E:0B36] $91EFEE 60 RTS $91EFEF AD 36 0B LDA $0B36 [$7E:0B36] $91EFF2 C9 01 00 CMP #$0001 $91EFF5 F0 15 BEQ $15 [$F00C] $91EFF7 9C 20 0B STZ $0B20 [$7E:0B20] $91EFFA 9C 2C 0B STZ $0B2C [$7E:0B2C] $91EFFD 9C 2E 0B STZ $0B2E [$7E:0B2E] $91F000 A9 01 00 LDA #$0001 $91F003 8D 22 0B STA $0B22 [$7E:0B22] $91F006 A9 02 00 LDA #$0002 $91F009 8D 36 0B STA $0B36 [$7E:0B36] $91F00C 9C 18 0A STZ $0A18 [$7E:0A18] $91F00F 60 RTS $91F010 20 46 F0 JSR $F046 [$91:F046] $91F013 AD C7 0D LDA $0DC7 [$7E:0DC7] $91F016 29 FF 00 AND #$00FF $91F019 C9 04 00 CMP #$0004 $91F01C D0 04 BNE $04 [$F022] $91F022 0A ASL A $91F023 AA TAX $91F024 FC 3A F0 JSR ($F03A,x)[$91:F1EC] $91F027 90 01 BCC $01 [$F02A] $91F029 60 RTS $91F02A 9C 18 0A STZ $0A18 [$7E:0A18] $91F02D 9C 4A 0B STZ $0B4A [$7E:0B4A] $91F030 9C 46 0B STZ $0B46 [$7E:0B46] $91F033 9C 48 0B STZ $0B48 [$7E:0B48] $91F036 20 D3 F1 JSR $F1D3 [$91:F1D3] $91F039 60 RTS $91F03A db EC $91F03C db FC $91F040 db 5E $91F046 AD 23 0A LDA $0A23 [$7E:0A23] $91F049 29 FF 00 AND #$00FF $91F04C C9 03 00 CMP #$0003 $91F04F F0 05 BEQ $05 [$F056] $91F051 C9 14 00 CMP #$0014 $91F054 D0 22 BNE $22 [$F078] $91F056 AD 51 1F LDA $1F51 [$7E:1F51] $91F059 D0 1D BNE $1D [$F078] $91F05B AD 20 0A LDA $0A20 [$7E:0A20] $91F05E C9 81 00 CMP #$0081 $91F061 F0 0E BEQ $0E [$F071] $91F063 C9 82 00 CMP #$0082 $91F066 F0 09 BEQ $09 [$F071] $91F068 A9 32 00 LDA #$0032 $91F06B 22 49 90 80 JSL $809049[$80:9049] $91F06F 80 07 BRA $07 [$F078] $91F071 A9 34 00 LDA #$0034 $91F074 22 49 90 80 JSL $809049[$80:9049] $91F078 AD 2E 0B LDA $0B2E [$7E:0B2E] $91F07B F0 05 BEQ $05 [$F082] $91F07D C9 05 00 CMP #$0005 $91F080 10 13 BPL $13 [$F095] $91F082 AD 2C 0B LDA $0B2C [$7E:0B2C] $91F085 F0 1D BEQ $1D [$F0A4] $91F087 AD 51 1F LDA $1F51 [$7E:1F51] $91F08A D0 15 BNE $15 [$F0A1] $91F08C A9 05 00 LDA #$0005 $91F08F 22 4D 91 80 JSL $80914D[$80:914D] $91F093 80 0C BRA $0C [$F0A1] $91F095 AD 51 1F LDA $1F51 [$7E:1F51] $91F098 D0 07 BNE $07 [$F0A1] $91F09A A9 04 00 LDA #$0004 $91F09D 22 4D 91 80 JSL $80914D[$80:914D] $91F0A1 20 A5 F0 JSR $F0A5 [$91:F0A5] $91F0A4 60 RTS ;;; ;;; $91F0A5 AD 9F 07 LDA $079F [$7E:079F] $91F0A8 0A ASL A $91F0A9 AA TAX $91F0AA FC AE F0 JSR ($F0AE,x)[$91:F0C5] $91F0AD 60 RTS $91F0AE dw F0C5, F1B2, F166, F166, F116, F1BA, F0BE, F0BE ;;; ;;; $91F0BE 9C F0 0A STZ $0AF0 [$7E:0AF0] $91F0C1 9C F2 0A STZ $0AF2 [$7E:0AF2] $91F0C4 60 RTS $91F0C5 AD 51 1F LDA $1F51 [$7E:1F51] $91F0C8 D0 F4 BNE $F4 [$F0BE] $91F0CA AD 9D 07 LDA $079D [$7E:079D] $91F0CD C9 1C 00 CMP #$001C $91F0D0 F0 1E BEQ $1E [$F0F0] $91F0D2 AA TAX $91F0D3 E0 10 00 CPX #$0010 $91F0D6 10 15 BPL $15 [$F0ED] $91F0D8 BD F3 F0 LDA $F0F3,x[$91:F0F3] $91F0DB 29 FF 00 AND #$00FF $91F0DE 89 01 00 BIT #$0001 $91F0E1 D0 2B BNE $2B [$F10E] $91F0E3 89 02 00 BIT #$0002 $91F0E6 D0 1C BNE $1C [$F104] $91F0E8 89 04 00 BIT #$0004 $91F0EB D0 29 BNE $29 [$F116] $91F0ED 4C BE F0 JMP $F0BE [$91:F0BE] $91F0F0 4C 66 F1 JMP $F166 [$91:F166] $91F0F3 db 01, 00, 00, 00, 00, 02, 00, 04, 00, 04, 04, 04, 04 $91F101 db 04, 00, 00 $91F104 AD FA 0A LDA $0AFA [$7E:0AFA] $91F107 C9 B0 03 CMP #$03B0 $91F10A 10 0A BPL $0A [$F116] $91F10C 80 B0 BRA $B0 [$F0BE] $91F10E AD 6E 19 LDA $196E [$7E:196E] $91F111 C9 0A 00 CMP #$000A $91F114 D0 A8 BNE $A8 [$F0BE] $91F116 22 3E EC 90 JSL $90EC3E[$90:EC3E] $91F11A AD 5E 19 LDA $195E [$7E:195E] $91F11D 30 0E BMI $0E [$F12D] $91F11F C5 12 CMP $12 [$7E:0012] $91F121 10 13 BPL $13 [$F136] $91F123 AD 7E 19 LDA $197E [$7E:197E] $91F126 89 04 00 BIT #$0004 $91F129 D0 0B BNE $0B [$F136] $91F12B 80 38 BRA $38 [$F165] $91F12D AD 62 19 LDA $1962 [$7E:1962] $91F130 30 04 BMI $04 [$F136] $91F136 A9 00 01 LDA #$0100 $91F139 8D F0 0A STA $0AF0 [$7E:0AF0] $91F13C 8D F2 0A STA $0AF2 [$7E:0AF2] $91F13F A9 03 00 LDA #$0003 $91F142 8D D8 0A STA $0AD8 [$7E:0AD8] $91F145 8D DA 0A STA $0ADA [$7E:0ADA] $91F148 AD F6 0A LDA $0AF6 [$7E:0AF6] $91F14B 18 CLC $91F14C 69 04 00 ADC #$0004 $91F14F 8D E0 0A STA $0AE0 [$7E:0AE0] $91F152 38 SEC $91F153 E9 07 00 SBC #$0007 $91F156 8D E2 0A STA $0AE2 [$7E:0AE2] $91F159 A5 12 LDA $12 [$7E:0012] $91F15B 38 SEC $91F15C E9 04 00 SBC #$0004 $91F15F 8D E8 0A STA $0AE8 [$7E:0AE8] $91F162 8D EA 0A STA $0AEA [$7E:0AEA] $91F165 60 RTS $91F166 22 3E EC 90 JSL $90EC3E[$90:EC3E] $91F16A AD 5E 19 LDA $195E [$7E:195E] $91F16D 30 0E BMI $0E [$F17D] $91F16F C5 12 CMP $12 [$7E:0012] $91F171 10 13 BPL $13 [$F186] $91F173 AD 7E 19 LDA $197E [$7E:197E] $91F176 89 04 00 BIT #$0004 $91F179 D0 0B BNE $0B [$F186] $91F17B 80 34 BRA $34 [$F1B1] $91F17D AD 62 19 LDA $1962 [$7E:1962] $91F180 30 04 BMI $04 [$F186] $91F182 C5 12 CMP $12 [$7E:0012] $91F184 30 2B BMI $2B [$F1B1] $91F186 A9 00 06 LDA #$0600 $91F189 8D F0 0A STA $0AF0 [$7E:0AF0] $91F18C 8D F2 0A STA $0AF2 [$7E:0AF2] $91F18F A9 03 00 LDA #$0003 $91F192 8D D8 0A STA $0AD8 [$7E:0AD8] $91F195 8D DA 0A STA $0ADA [$7E:0ADA] $91F198 AD F6 0A LDA $0AF6 [$7E:0AF6] $91F19B 18 CLC $91F19C 69 08 00 ADC #$0008 $91F19F 8D E0 0A STA $0AE0 [$7E:0AE0] $91F1A2 38 SEC $91F1A3 E9 10 00 SBC #$0010 $91F1A6 8D E2 0A STA $0AE2 [$7E:0AE2] $91F1A9 A5 12 LDA $12 [$7E:0012] $91F1AB 8D E8 0A STA $0AE8 [$7E:0AE8] $91F1AE 8D EA 0A STA $0AEA [$7E:0AEA] $91F1B1 60 RTS $91F1B2 AD 9D 07 LDA $079D [$7E:079D] $91F1B5 C9 08 00 CMP #$0008 $91F1B8 F0 AC BEQ $AC [$F166] $91F1BA AD 9D 07 LDA $079D [$7E:079D] $91F1BD C9 05 00 CMP #$0005 $91F1C0 30 0A BMI $0A [$F1CC] $91F1C2 C9 09 00 CMP #$0009 $91F1C5 30 9F BMI $9F [$F166] $91F1C7 C9 0B 00 CMP #$000B $91F1CA F0 9A BEQ $9A [$F166] $91F1CC 9C F0 0A STZ $0AF0 [$7E:0AF0] $91F1CF 9C F2 0A STZ $0AF2 [$7E:0AF2] $91F1D2 60 RTS $91F1D3 9C 22 0B STZ $0B22 [$7E:0B22] $91F1D6 9C 1A 0B STZ $0B1A [$7E:0B1A] $91F1D9 9C 2A 0B STZ $0B2A [$7E:0B2A] $91F1DC 9C 2C 0B STZ $0B2C [$7E:0B2C] $91F1DF 9C 2E 0B STZ $0B2E [$7E:0B2E] $91F1E2 9C 36 0B STZ $0B36 [$7E:0B36] $91F1E5 9C 38 0B STZ $0B38 [$7E:0B38] $91F1E8 9C 20 0B STZ $0B20 [$7E:0B20] $91F1EB 60 RTS $91F1EC AD 60 0A LDA $0A60 [$7E:0A60] $91F1EF C9 1D E9 CMP #$E91D $91F1F2 F0 06 BEQ $06 [$F1FA] $91F1F4 A9 26 E9 LDA #$E926 $91F1F7 8D 60 0A STA $0A60 [$7E:0A60] $91F1FA 18 CLC $91F1FB 60 RTS $91F1FC AD 20 0B LDA $0B20 [$7E:0B20] $91F1FF 0A ASL A $91F200 AA TAX $91F201 7C 04 F2 JMP ($F204,x)[$91:F20A] $91F204 db 0A $91F206 db 2B $91F208 db 45 $91F20A AD 2E 0B LDA $0B2E [$7E:0B2E] $91F20D C9 03 00 CMP #$0003 $91F210 30 33 BMI $33 [$F245] $91F212 EE 20 0B INC $0B20 [$7E:0B20] $91F215 A9 01 00 LDA #$0001 $91F218 8D 36 0B STA $0B36 [$7E:0B36] $91F21B AF B7 9E 90 LDA $909EB7[$90:9EB7] $91F21F 8D 2C 0B STA $0B2C [$7E:0B2C] $91F222 AF B5 9E 90 LDA $909EB5[$90:9EB5] $91F226 8D 2E 0B STA $0B2E [$7E:0B2E] $91F229 38 SEC $91F22A 60 RTS $91F22B EE 20 0B INC $0B20 [$7E:0B20] $91F22E A9 01 00 LDA #$0001 $91F231 8D 36 0B STA $0B36 [$7E:0B36] $91F234 AF B7 9E 90 LDA $909EB7[$90:9EB7] $91F238 8D 2C 0B STA $0B2C [$7E:0B2C] $91F23B AF B5 9E 90 LDA $909EB5[$90:9EB5] $91F23F 3A DEC A $91F240 8D 2E 0B STA $0B2E [$7E:0B2E] $91F243 38 SEC $91F244 60 RTS $91F245 9C 20 0B STZ $0B20 [$7E:0B20] $91F248 9C 36 0B STZ $0B36 [$7E:0B36] $91F24B 9C 2C 0B STZ $0B2C [$7E:0B2C] $91F24E 9C 2E 0B STZ $0B2E [$7E:0B2E] $91F251 18 CLC $91F252 60 RTS $91F25E A5 8B LDA $8B [$7E:008B] $91F260 2C B4 09 BIT $09B4 [$7E:09B4] $91F263 F0 09 BEQ $09 [$F26E] $91F265 9C 20 0B STZ $0B20 [$7E:0B20] $91F268 22 BC 98 90 JSL $9098BC[$90:98BC] $91F26C 38 SEC $91F26D 60 RTS $91F26E AD 20 0B LDA $0B20 [$7E:0B20] $91F271 29 FF 00 AND #$00FF $91F274 0A ASL A $91F275 AA TAX $91F276 7C 79 F2 JMP ($F279,x)[$91:F27F] $91F279 db 7F $91F27B db A3 $91F27D db C0 $91F27F AD 2E 0B LDA $0B2E [$7E:0B2E] $91F282 C9 03 00 CMP #$0003 $91F285 30 39 BMI $39 [$F2C0] $91F287 A9 01 06 LDA #$0601 $91F28A 8D 20 0B STA $0B20 [$7E:0B20] $91F28D A9 01 00 LDA #$0001 $91F290 8D 36 0B STA $0B36 [$7E:0B36] $91F293 AF B7 9E 90 LDA $909EB7[$90:9EB7] $91F297 8D 2C 0B STA $0B2C [$7E:0B2C] $91F29A AF B5 9E 90 LDA $909EB5[$90:9EB5] $91F29E 8D 2E 0B STA $0B2E [$7E:0B2E] $91F2A1 38 SEC $91F2A2 60 RTS $91F2A3 A9 02 06 LDA #$0602 $91F2A6 8D 20 0B STA $0B20 [$7E:0B20] $91F2A9 A9 01 00 LDA #$0001 $91F2AC 8D 36 0B STA $0B36 [$7E:0B36] $91F2AF AF B7 9E 90 LDA $909EB7[$90:9EB7] $91F2B3 8D 2C 0B STA $0B2C [$7E:0B2C] $91F2B6 AF B5 9E 90 LDA $909EB5[$90:9EB5] $91F2BA 3A DEC A $91F2BB 8D 2E 0B STA $0B2E [$7E:0B2E] $91F2BE 38 SEC $91F2BF 60 RTS $91F2C0 9C 20 0B STZ $0B20 [$7E:0B20] $91F2C3 9C 36 0B STZ $0B36 [$7E:0B36] $91F2C6 9C 2C 0B STZ $0B2C [$7E:0B2C] $91F2C9 9C 2E 0B STZ $0B2E [$7E:0B2E] $91F2CC 18 CLC $91F2CD 60 RTS $91F2D3 9C 4A 0B STZ $0B4A [$7E:0B4A] $91F2D6 9C CE 0D STZ $0DCE [$7E:0DCE] $91F2D9 9C 22 0B STZ $0B22 [$7E:0B22] $91F2DC 9C 1A 0B STZ $0B1A [$7E:0B1A] $91F2DF 9C 46 0B STZ $0B46 [$7E:0B46] $91F2E2 9C 48 0B STZ $0B48 [$7E:0B48] $91F2E5 9C 18 0A STZ $0A18 [$7E:0A18] $91F2E8 A9 05 00 LDA #$0005 $91F2EB 22 4D 91 80 JSL $80914D[$80:914D] $91F2EF 60 RTS $91F31D 9C 52 0A STZ $0A52 [$7E:0A52] $91F320 A9 37 A3 LDA #$A337 $91F323 8D 58 0A STA $0A58 [$7E:0A58] $91F326 9C 20 0B STZ $0B20 [$7E:0B20] $91F329 9C 2C 0B STZ $0B2C [$7E:0B2C] $91F32C 9C 2E 0B STZ $0B2E [$7E:0B2E] $91F32F A9 01 00 LDA #$0001 $91F332 8D 22 0B STA $0B22 [$7E:0B22] $91F335 A9 02 00 LDA #$0002 $91F338 8D 36 0B STA $0B36 [$7E:0B36] $91F33B 22 7E EC 90 JSL $90EC7E[$90:EC7E] $91F33F AD 60 0A LDA $0A60 [$7E:0A60] $91F342 C9 1D E9 CMP #$E91D $91F345 F0 06 BEQ $06 [$F34D] $91F347 A9 13 E9 LDA #$E913 $91F34A 8D 60 0A STA $0A60 [$7E:0A60] $91F34D 60 RTS $91F34E 22 7E EC 90 JSL $90EC7E[$90:EC7E] $91F352 A9 37 A3 LDA #$A337 $91F355 8D 58 0A STA $0A58 [$7E:0A58] $91F358 AD 98 09 LDA $0998 [$7E:0998] $91F35B C9 2A 00 CMP #$002A $91F35E F0 07 BEQ $07 [$F367] $91F360 A9 13 E9 LDA #$E913 $91F363 8D 60 0A STA $0A60 [$7E:0A60] $91F366 60 RTS $91F36E 9C 20 0B STZ $0B20 [$7E:0B20] $91F371 AD 94 0A LDA $0A94 [$7E:0A94] $91F374 18 CLC $91F375 6D 9C 0A ADC $0A9C [$7E:0A9C] $91F378 8D 94 0A STA $0A94 [$7E:0A94] $91F37B 60 RTS $91F3AA AD F6 0A LDA $0AF6 [$7E:0AF6] $91F3AD 38 SEC $91F3AE ED 10 0B SBC $0B10 [$7E:0B10] $91F3B1 30 11 BMI $11 [$F3C4] $91F3B3 C9 0D 00 CMP #$000D $91F3B6 30 1B BMI $1B [$F3D3] $91F3C4 C9 F4 FF CMP #$FFF4 $91F3C7 10 0A BPL $0A [$F3D3] $91F3D3 AD FA 0A LDA $0AFA [$7E:0AFA] $91F3D6 38 SEC $91F3D7 ED 14 0B SBC $0B14 [$7E:0B14] $91F3DA 30 11 BMI $11 [$F3ED] $91F3DC C9 0D 00 CMP #$000D $91F3DF 30 1B BMI $1B [$F3FC] $91F3ED C9 F4 FF CMP #$FFF4 $91F3F0 10 0A BPL $0A [$F3FC] $91F3FC 60 RTS ;;; ;;; ; If 0A1C isn't new, CLC and RTL. ; If it is, JSR $FDAE (check pose size), ; JSL 91:F433(check pose changes), ; JSL 91:FBBB(check movement type changes), ; JSL 91:FB08(handle animation frame), ; STZ $0A9A. If 0A1C changed, SEC, else CLC $91F404 08 PHP $91F405 8B PHB $91F406 4B PHK $91F407 AB PLB $91F408 C2 30 REP #$30 $91F40A AD 1C 0A LDA $0A1C [$7E:0A1C] $91F40D 48 PHA $91F40E CD 20 0A CMP $0A20 [$7E:0A20] $91F411 F0 12 BEQ $12 [$F425] $91F413 20 AE FD JSR $FDAE [$91:FDAE] $91F416 22 33 F4 91 JSL $91F433[$91:F433] $91F41A 22 BB FB 91 JSL $91FBBB[$91:FBBB] $91F41E 22 08 FB 91 JSL $91FB08[$91:FB08] $91F422 9C 9A 0A STZ $0A9A [$7E:0A9A] $91F425 68 PLA $91F426 CD 1C 0A CMP $0A1C [$7E:0A1C] $91F429 D0 04 BNE $04 [$F42F] $91F42B AB PLB $91F42C 28 PLP $91F42D 18 CLC $91F42E 6B RTL $91F42F AB PLB $91F430 28 PLP $91F431 38 SEC $91F432 6B RTL ;;; ;;; ; Set $0A1E depending on $0A1C, JSR $F468, and if Samus was previously screw attacking, JSL $91:DEBA to reset pallete $91F433 08 PHP $91F434 8B PHB $91F435 4B PHK $91F436 AB PLB $91F437 C2 30 REP #$30 $91F439 AD 1C 0A LDA $0A1C [$7E:0A1C] $91F43C 0A ASL A $91F43D 0A ASL A $91F43E 0A ASL A $91F43F AA TAX $91F440 BD 29 B6 LDA $B629,x[$91:B639] $91F443 8D 1E 0A STA $0A1E [$7E:0A1E] $91F446 20 68 F4 JSR $F468 [$91:F468] $91F449 AD 23 0A LDA $0A23 [$7E:0A23] $91F44C 29 FF 00 AND #$00FF $91F44F C9 03 00 CMP #$0003 $91F452 F0 05 BEQ $05 [$F459] $91F454 C9 14 00 CMP #$0014 $91F457 D0 0C BNE $0C [$F465] $91F459 AD A2 09 LDA $09A2 [$7E:09A2] $91F45C 89 08 00 BIT #$0008 $91F45F F0 04 BEQ $04 [$F465] $91F461 22 BA DE 91 JSL $91DEBA[$91:DEBA] $91F465 AB PLB $91F466 28 PLP $91F467 6B RTL ;;; ;;; ; First go to F4A2,X (X = 0A1F*2), then set 0A1E depending on 0A1C. ; If it's E (turning on ground), refresh X and goto F4A2,X again, ; and refresh 0A1E (TODO, check routines) ; They handle specific transition stuff... it looks like it's mainly concerned with poses $91F468 08 PHP $91F469 C2 30 REP #$30 $91F46B AD 1F 0A LDA $0A1F [$7E:0A1F] $91F46E 29 FF 00 AND #$00FF $91F471 0A ASL A $91F472 AA TAX $91F473 FC A2 F4 JSR ($F4A2,x)[$91:F4DC] $91F476 90 28 BCC $28 [$F4A0] $91F478 AD 1C 0A LDA $0A1C [$7E:0A1C] $91F47B 0A ASL A $91F47C 0A ASL A $91F47D 0A ASL A $91F47E AA TAX $91F47F BD 29 B6 LDA $B629,x[$91:B759] $91F482 8D 1E 0A STA $0A1E [$7E:0A1E] $91F485 29 00 FF AND #$FF00 $91F488 C9 00 0E CMP #$0E00 $91F48B D0 13 BNE $13 [$F4A0] $91F48D EB XBA $91F48E 0A ASL A $91F48F AA TAX $91F490 FC A2 F4 JSR ($F4A2,x)[$91:F8D3] $91F493 AD 1C 0A LDA $0A1C [$7E:0A1C] $91F496 0A ASL A $91F497 0A ASL A $91F498 0A ASL A $91F499 AA TAX $91F49A BD 29 B6 LDA $B629,x[$91:B759] $91F49D 8D 1E 0A STA $0A1E [$7E:0A1E] $91F4A0 28 PLP $91F4A1 60 RTS $91F4A2 db DC $91F4A4 db 0C $91F4A6 db 43 $91F4A8 db 24 $91F4AA db F4 $91F4AC db EB $91F4AE db 0D $91F4B2 db F4 $91F4B6 db DA $91F4BE db D3 $91F4C0 db 58 $91F4C2 db 8C $91F4C4 db 56 $91F4C6 db 56 $91F4C8 db 56 $91F4CA db 76 $91F4CC db DA $91F4CE db DA $91F4D0 db 52 $91F4D2 db 8A $91F4D4 db AE $91F4D6 db DA $91F4D8 db CA ;;; ;;; $91F4DA 18 CLC $91F4DB 60 RTS ;;; ;;; ; Sets 0A9A to 1 if Samus was aiming up, and still is aiming up $91F4DC AD 1C 0A LDA $0A1C [$7E:0A1C] $91F4DF 0A ASL A $91F4E0 0A ASL A $91F4E1 0A ASL A $91F4E2 AA TAX $91F4E3 BD 2C B6 LDA $B62C,x[$91:B63C] $91F4E6 29 FF 00 AND #$00FF $91F4E9 F0 05 BEQ $05 [$F4F0] $91F4EB C9 09 00 CMP #$0009 $91F4EE D0 1A BNE $1A [$F50A] $91F4F0 AD 20 0A LDA $0A20 [$7E:0A20] $91F4F3 0A ASL A $91F4F4 0A ASL A $91F4F5 0A ASL A $91F4F6 AA TAX $91F4F7 BD 2C B6 LDA $B62C,x[$91:B634] $91F4FA 29 FF 00 AND #$00FF $91F4FD F0 05 BEQ $05 [$F504] $91F4FF C9 09 00 CMP #$0009 $91F502 D0 06 BNE $06 [$F50A] $91F504 A9 01 00 LDA #$0001 $91F507 8D 9A 0A STA $0A9A [$7E:0A9A] $91F50A 18 CLC $91F50B 60 RTS ;;; ;;; ; Sets 0A9A to 8000 if Samus was already running. Also some unused code for unused ram and unused poses $91F50C AD 23 0A LDA $0A23 [$7E:0A23] $91F50F 29 FF 00 AND #$00FF $91F512 C9 01 00 CMP #$0001 $91F515 D0 06 BNE $06 [$F51D] $91F517 A9 00 80 LDA #$8000 $91F51A 8D 9A 0A STA $0A9A [$7E:0A9A] $91F51D AD F8 0D LDA $0DF8 [$7E:0DF8] $91F520 F0 1F BEQ $1F [$F541] $91F541 18 CLC $91F542 60 RTS ;;; ;;; ; If current pose is in a checklist, ; put Samus in superjump pose and JSL 90:CFFA, ; and move Samus up a pixel if she wasn't jumping previously ; (Stores new Y position to 0B14 also, unknown use). ; If Samus jumped and aimed up while standing and aiming up, sets 0A9A to 1. ; Also has stuff for shooting, ; triggers firing when Samus has charge and presses fire while spinjumping $91F543 AD 1C 0A LDA $0A1C [$7E:0A1C] $91F546 C9 4E 00 CMP #$004E $91F549 F0 26 BEQ $26 [$F571] $91F54B C9 4D 00 CMP #$004D $91F54E F0 14 BEQ $14 [$F564] $91F550 C9 15 00 CMP #$0015 $91F553 F0 0F BEQ $0F [$F564] $91F555 C9 16 00 CMP #$0016 $91F558 F0 17 BEQ $17 [$F571] $91F55A C9 6A 00 CMP #$006A $91F55D F0 12 BEQ $12 [$F571] $91F55F C9 69 00 CMP #$0069 $91F562 D0 36 BNE $36 [$F59A] $91F564 AD 68 0A LDA $0A68 [$7E:0A68] $91F567 F0 31 BEQ $31 [$F59A] $91F569 A9 C7 00 LDA #$00C7 $91F56C 8D 1C 0A STA $0A1C [$7E:0A1C] $91F56F 80 0B BRA $0B [$F57C] $91F571 AD 68 0A LDA $0A68 [$7E:0A68] $91F574 F0 24 BEQ $24 [$F59A] $91F576 A9 C8 00 LDA #$00C8 $91F579 8D 1C 0A STA $0A1C [$7E:0A1C] $91F57C 22 FA CF 90 JSL $90CFFA[$90:CFFA] $91F580 AD 23 0A LDA $0A23 [$7E:0A23] $91F583 29 FF 00 AND #$00FF $91F586 C9 02 00 CMP #$0002 $91F589 D0 0D BNE $0D [$F598] $91F58B AD FA 0A LDA $0AFA [$7E:0AFA] $91F58E 38 SEC $91F58F E9 01 00 SBC #$0001 $91F592 8D FA 0A STA $0AFA [$7E:0AFA] $91F595 8D 14 0B STA $0B14 [$7E:0B14] $91F598 38 SEC $91F599 60 RTS $91F59A AD 42 0B LDA $0B42 [$7E:0B42] $91F59D D0 0A BNE $0A [$F5A9] $91F59F AD 44 0B LDA $0B44 [$7E:0B44] $91F5A2 D0 05 BNE $05 [$F5A9] $91F5A4 9C 4A 0B STZ $0B4A [$7E:0B4A] $91F5A7 80 06 BRA $06 [$F5AF] $91F5A9 A9 02 00 LDA #$0002 $91F5AC 8D 4A 0B STA $0B4A [$7E:0B4A] $91F5AF AD 1C 0A LDA $0A1C [$7E:0A1C] $91F5B2 C9 15 00 CMP #$0015 $91F5B5 F0 05 BEQ $05 [$F5BC] $91F5B7 C9 16 00 CMP #$0016 $91F5BA D0 13 BNE $13 [$F5CF] $91F5BC AD 20 0A LDA $0A20 [$7E:0A20] $91F5BF C9 55 00 CMP #$0055 $91F5C2 F0 05 BEQ $05 [$F5C9] $91F5C4 C9 56 00 CMP #$0056 $91F5C7 D0 06 BNE $06 [$F5CF] $91F5C9 A9 01 00 LDA #$0001 $91F5CC 8D 9A 0A STA $0A9A [$7E:0A9A] $91F5CF A5 8F LDA $8F [$7E:008F] $91F5D1 2C B2 09 BIT $09B2 [$7E:09B2] $91F5D4 F0 13 BEQ $13 [$F5E9] $91F5D6 AD 1C 0A LDA $0A1C [$7E:0A1C] $91F5D9 0A ASL A $91F5DA 0A ASL A $91F5DB 0A ASL A $91F5DC AA TAX $91F5DD BD 2C B6 LDA $B62C,x[$91:B6C4] $91F5E0 29 FF 00 AND #$00FF $91F5E3 09 00 80 ORA #$8000 $91F5E6 8D 5E 0B STA $0B5E [$7E:0B5E] $91F5E9 18 CLC $91F5EA 60 RTS ;;; ;;; $91F5EB AD 1C 0A LDA $0A1C [$7E:0A1C] $91F5EE C9 85 00 CMP #$0085 $91F5F1 F0 05 BEQ $05 [$F5F8] $91F5F3 C9 86 00 CMP #$0086 $91F5F6 D0 13 BNE $13 [$F60B] $91F5F8 AD 20 0A LDA $0A20 [$7E:0A20] $91F5FB C9 F1 00 CMP #$00F1 $91F5FE F0 05 BEQ $05 [$F605] $91F600 C9 F2 00 CMP #$00F2 $91F603 D0 06 BNE $06 [$F60B] $91F605 A9 01 00 LDA #$0001 $91F608 8D 9A 0A STA $0A9A [$7E:0A9A] $91F60B 18 CLC $91F60C 60 RTS $91F60D AD 42 0B LDA $0B42 [$7E:0B42] $91F610 D0 0A BNE $0A [$F61C] $91F612 AD 44 0B LDA $0B44 [$7E:0B44] $91F615 D0 05 BNE $05 [$F61C] $91F617 9C 4A 0B STZ $0B4A [$7E:0B4A] $91F61A 80 06 BRA $06 [$F622] $91F61C A9 02 00 LDA #$0002 $91F61F 8D 4A 0B STA $0B4A [$7E:0B4A] $91F622 18 CLC $91F623 60 RTS ;;; ;;; ; If Samus turned around, add current speed to momentum, ; cleanup blue suit, set horizontal speed to 0, and 0B4A to 1. ; Also handles poses and sound $91F624 AD 23 0A LDA $0A23 [$7E:0A23] $91F627 29 FF 00 AND #$00FF $91F62A C9 03 00 CMP #$0003 $91F62D F0 05 BEQ $05 [$F634] $91F62F C9 14 00 CMP #$0014 $91F632 D0 4B BNE $4B [$F67F] $91F634 A9 01 00 LDA #$0001 $91F637 8D 9A 0A STA $0A9A [$7E:0A9A] $91F63A AD 22 0A LDA $0A22 [$7E:0A22] $91F63D 29 0F 00 AND #$000F $91F640 C9 08 00 CMP #$0008 $91F643 F0 0F BEQ $0F [$F654] $91F645 C9 04 00 CMP #$0004 $91F648 D0 35 BNE $35 [$F67F] $91F64A AD 1E 0A LDA $0A1E [$7E:0A1E] $91F64D C9 08 03 CMP #$0308 $91F650 F0 0A BEQ $0A [$F65C] $91F652 80 2B BRA $2B [$F67F] $91F654 AD 1E 0A LDA $0A1E [$7E:0A1E] $91F657 C9 04 03 CMP #$0304 $91F65A D0 23 BNE $23 [$F67F] $91F65C AD 44 0B LDA $0B44 [$7E:0B44] $91F65F 18 CLC $91F660 6D 48 0B ADC $0B48 [$7E:0B48] $91F663 8D 48 0B STA $0B48 [$7E:0B48] $91F666 AD 42 0B LDA $0B42 [$7E:0B42] $91F669 6D 46 0B ADC $0B46 [$7E:0B46] $91F66C 8D 46 0B STA $0B46 [$7E:0B46] $91F66F 22 53 DE 91 JSL $91DE53[$91:DE53] $91F673 9C 44 0B STZ $0B44 [$7E:0B44] $91F676 9C 42 0B STZ $0B42 [$7E:0B42] $91F679 A9 01 00 LDA #$0001 $91F67C 8D 4A 0B STA $0B4A [$7E:0B4A] $91F67F AD 1E 0A LDA $0A1E [$7E:0A1E] $91F682 29 FF 00 AND #$00FF $91F685 C9 04 00 CMP #$0004 $91F688 F0 61 BEQ $61 [$F6EB] $91F68A AD A2 09 LDA $09A2 [$7E:09A2] $91F68D 89 20 00 BIT #$0020 $91F690 D0 20 BNE $20 [$F6B2] $91F692 22 58 EC 90 JSL $90EC58[$90:EC58] $91F696 AD 5E 19 LDA $195E [$7E:195E] $91F699 30 0E BMI $0E [$F6A9] $91F69B C5 14 CMP $14 [$7E:0014] $91F69D 10 13 BPL $13 [$F6B2] $91F69F AD 7E 19 LDA $197E [$7E:197E] $91F6A2 89 04 00 BIT #$0004 $91F6A5 D0 0B BNE $0B [$F6B2] $91F6A7 80 1B BRA $1B [$F6C4] $91F6A9 AD 62 19 LDA $1962 [$7E:1962] $91F6AC 30 04 BMI $04 [$F6B2] $91F6AE C5 14 CMP $14 [$7E:0014] $91F6B0 30 12 BMI $12 [$F6C4] $91F6B2 AD A2 09 LDA $09A2 [$7E:09A2] $91F6B5 89 08 00 BIT #$0008 $91F6B8 D0 29 BNE $29 [$F6E3] $91F6BA 89 00 02 BIT #$0200 $91F6BD D0 15 BNE $15 [$F6D4] $91F6BF AD 9A 0A LDA $0A9A [$7E:0A9A] $91F6C2 F0 02 BEQ $02 [$F6C6] $91F6C4 18 CLC $91F6C5 60 RTS $91F6C6 AD 51 1F LDA $1F51 [$7E:1F51] $91F6C9 D0 F9 BNE $F9 [$F6C4] $91F6CB A9 31 00 LDA #$0031 $91F6CE 22 49 90 80 JSL $809049[$80:9049] $91F6D2 18 CLC $91F6D3 60 RTS $91F6D4 A9 3E 00 LDA #$003E $91F6D7 22 49 90 80 JSL $809049[$80:9049] $91F6DB A9 1B 00 LDA #$001B $91F6DE 8D 1C 0A STA $0A1C [$7E:0A1C] $91F6E1 18 CLC $91F6E2 60 RTS $91F6E3 A9 81 00 LDA #$0081 $91F6E6 8D 1C 0A STA $0A1C [$7E:0A1C] $91F6E9 80 5F BRA $5F [$F74A] $91F6EB AD A2 09 LDA $09A2 [$7E:09A2] $91F6EE 89 20 00 BIT #$0020 $91F6F1 D0 20 BNE $20 [$F713] $91F6F3 22 58 EC 90 JSL $90EC58[$90:EC58] $91F6F7 AD 5E 19 LDA $195E [$7E:195E] $91F6FA 30 0E BMI $0E [$F70A] $91F6FC C5 14 CMP $14 [$7E:0014] $91F6FE 10 13 BPL $13 [$F713] $91F700 AD 7E 19 LDA $197E [$7E:197E] $91F703 89 04 00 BIT #$0004 $91F706 D0 0B BNE $0B [$F713] $91F708 80 1B BRA $1B [$F725] $91F70A AD 62 19 LDA $1962 [$7E:1962] $91F70D 30 04 BMI $04 [$F713] $91F70F C5 14 CMP $14 [$7E:0014] $91F711 30 12 BMI $12 [$F725] $91F713 AD A2 09 LDA $09A2 [$7E:09A2] $91F716 89 08 00 BIT #$0008 $91F719 D0 29 BNE $29 [$F744] $91F71B 89 00 02 BIT #$0200 $91F71E D0 15 BNE $15 [$F735] $91F720 AD 9A 0A LDA $0A9A [$7E:0A9A] $91F723 F0 02 BEQ $02 [$F727] $91F725 18 CLC $91F726 60 RTS $91F727 AD 51 1F LDA $1F51 [$7E:1F51] $91F72A D0 F9 BNE $F9 [$F725] $91F72C A9 31 00 LDA #$0031 $91F72F 22 49 90 80 JSL $809049[$80:9049] $91F733 18 CLC $91F734 60 RTS $91F735 A9 3E 00 LDA #$003E $91F738 22 49 90 80 JSL $809049[$80:9049] $91F73C A9 1C 00 LDA #$001C $91F73F 8D 1C 0A STA $0A1C [$7E:0A1C] $91F742 18 CLC $91F743 60 RTS $91F744 A9 82 00 LDA #$0082 $91F747 8D 1C 0A STA $0A1C [$7E:0A1C] $91F74A AD 9A 0A LDA $0A9A [$7E:0A9A] $91F74D D0 07 BNE $07 [$F756] $91F74F A9 33 00 LDA #$0033 $91F752 22 49 90 80 JSL $809049[$80:9049] $91F756 18 CLC $91F757 60 RTS $91F758 AD 1C 0A LDA $0A1C [$7E:0A1C] $91F75B C9 F1 00 CMP #$00F1 $91F75E 10 1F BPL $1F [$F77F] $91F760 C9 DB 00 CMP #$00DB $91F763 10 10 BPL $10 [$F775] $91F765 38 SEC $91F766 E9 35 00 SBC #$0035 $91F769 0A ASL A $91F76A AA TAX $91F76B A9 07 00 LDA #$0007 $91F76E 8D 2E 0A STA $0A2E [$7E:0A2E] $91F771 FC 90 F7 JSR ($F790,x)[$91:F7B0] $91F774 60 RTS $91F77F C9 F7 00 CMP #$00F7 $91F782 10 05 BPL $05 [$F789] $91F784 A2 00 00 LDX #$0000 $91F787 80 E2 BRA $E2 [$F76B] $91F789 A9 07 00 LDA #$0007 $91F78C 8D 2E 0A STA $0A2E [$7E:0A2E] $91F78F 60 RTS $91F790 db B0 $91F792 db B0 $91F794 db CE $91F796 db CE $91F79C db CC $91F79E db CC $91F7A0 db CC $91F7A2 db CC $91F7B0 AD 3E 0B LDA $0B3E [$7E:0B3E] $91F7B3 29 00 FF AND #$FF00 $91F7B6 C9 00 04 CMP #$0400 $91F7B9 30 0F BMI $0F [$F7CA] $91F7BB A9 B4 00 LDA #$00B4 $91F7BE 8D 68 0A STA $0A68 [$7E:0A68] $91F7C1 A9 01 00 LDA #$0001 $91F7C4 8D CC 0A STA $0ACC [$7E:0ACC] $91F7C7 9C CE 0A STZ $0ACE [$7E:0ACE] $91F7CA 18 CLC $91F7CB 60 RTS $91F7CC 18 CLC $91F7CD 60 RTS $91F7CE AD A2 09 LDA $09A2 [$7E:09A2] $91F7D1 89 04 00 BIT #$0004 $91F7D4 F0 16 BEQ $16 [$F7EC] $91F7D6 AD 23 0A LDA $0A23 [$7E:0A23] $91F7D9 29 FF 00 AND #$00FF $91F7DC C9 03 00 CMP #$0003 $91F7DF D0 06 BNE $06 [$F7E7] $91F7E7 9C D4 0C STZ $0CD4 [$7E:0CD4] $91F7EA 18 CLC $91F7EB 60 RTS $91F88C AD E4 09 LDA $09E4 [$7E:09E4] $91F88F F0 02 BEQ $02 [$F893] $91F891 18 CLC $91F892 60 RTS $91F8AE 80 1B BRA $1B [$F8CB] $91F8CB A9 37 A3 LDA #$A337 $91F8CE 8D 58 0A STA $0A58 [$7E:0A58] $91F8D1 18 CLC $91F8D2 60 RTS $91F8D3 AD 20 0A LDA $0A20 [$7E:0A20] $91F8D6 F0 59 BEQ $59 [$F931] $91F8D8 C9 9B 00 CMP #$009B $91F8DB F0 54 BEQ $54 [$F931] $91F8DD 0A ASL A $91F8DE 0A ASL A $91F8DF 0A ASL A $91F8E0 AA TAX $91F8E1 BD 2C B6 LDA $B62C,x[$91:B674] $91F8E4 29 FF 00 AND #$00FF $91F8E7 AA TAX $91F8E8 AD 23 0A LDA $0A23 [$7E:0A23] $91F8EB 29 FF 00 AND #$00FF $91F8EE C9 10 00 CMP #$0010 $91F8F1 D0 25 BNE $25 [$F918] $91F8F3 AD 20 0A LDA $0A20 [$7E:0A20] $91F8F6 0A ASL A $91F8F7 0A ASL A $91F8F8 0A ASL A $91F8F9 A8 TAY $91F8FA B9 2C B6 LDA $B62C,y[$91:B874] $91F8FD 29 FF 00 AND #$00FF $91F900 09 00 01 ORA #$0100 $91F903 8D 5E 0B STA $0B5E [$7E:0B5E] $91F906 A5 8B LDA $8B [$7E:008B] $91F908 2C B4 09 BIT $09B4 [$7E:09B4] $91F90B F0 10 BEQ $10 [$F91D] $91F90D BD EA F9 LDA $F9EA,x[$91:F9F1] $91F910 29 FF 00 AND #$00FF $91F913 8D 1C 0A STA $0A1C [$7E:0A1C] $91F916 80 19 BRA $19 [$F931] $91F918 C9 05 00 CMP #$0005 $91F91B F0 0B BEQ $0B [$F928] $91F91D BD C2 F9 LDA $F9C2,x[$91:F9C4] $91F920 29 FF 00 AND #$00FF $91F923 8D 1C 0A STA $0A1C [$7E:0A1C] $91F926 80 09 BRA $09 [$F931] $91F928 BD CC F9 LDA $F9CC,x[$91:F9CE] $91F92B 29 FF 00 AND #$00FF $91F92E 8D 1C 0A STA $0A1C [$7E:0A1C] $91F931 AD 44 0B LDA $0B44 [$7E:0B44] $91F934 18 CLC $91F935 6D 48 0B ADC $0B48 [$7E:0B48] $91F938 8D 48 0B STA $0B48 [$7E:0B48] $91F93B AD 42 0B LDA $0B42 [$7E:0B42] $91F93E 6D 46 0B ADC $0B46 [$7E:0B46] $91F941 8D 46 0B STA $0B46 [$7E:0B46] $91F944 9C 44 0B STZ $0B44 [$7E:0B44] $91F947 9C 42 0B STZ $0B42 [$7E:0B42] $91F94A A9 01 00 LDA #$0001 $91F94D 8D 4A 0B STA $0B4A [$7E:0B4A] $91F950 38 SEC $91F951 60 RTS $91F952 AD 20 0A LDA $0A20 [$7E:0A20] $91F955 0A ASL A $91F956 0A ASL A $91F957 0A ASL A $91F958 AA TAX $91F959 BD 2C B6 LDA $B62C,x[$91:B8BC] $91F95C 29 FF 00 AND #$00FF $91F95F AA TAX $91F960 BD D6 F9 LDA $F9D6,x[$91:F9DD] $91F963 29 FF 00 AND #$00FF $91F966 8D 1C 0A STA $0A1C [$7E:0A1C] $91F969 AD 44 0B LDA $0B44 [$7E:0B44] $91F96C 18 CLC $91F96D 6D 48 0B ADC $0B48 [$7E:0B48] $91F970 8D 48 0B STA $0B48 [$7E:0B48] $91F973 AD 42 0B LDA $0B42 [$7E:0B42] $91F976 6D 46 0B ADC $0B46 [$7E:0B46] $91F979 8D 46 0B STA $0B46 [$7E:0B46] $91F97C 9C 44 0B STZ $0B44 [$7E:0B44] $91F97F 9C 42 0B STZ $0B42 [$7E:0B42] $91F982 A9 01 00 LDA #$0001 $91F985 8D 4A 0B STA $0B4A [$7E:0B4A] $91F988 38 SEC $91F989 60 RTS $91F98A AD 20 0A LDA $0A20 [$7E:0A20] $91F98D 0A ASL A $91F98E 0A ASL A $91F98F 0A ASL A $91F990 AA TAX $91F991 BD 2C B6 LDA $B62C,x[$91:B774] $91F994 29 FF 00 AND #$00FF $91F997 AA TAX $91F998 BD E0 F9 LDA $F9E0,x[$91:F9E2] $91F99B 29 FF 00 AND #$00FF $91F99E 8D 1C 0A STA $0A1C [$7E:0A1C] $91F9A1 AD 44 0B LDA $0B44 [$7E:0B44] $91F9A4 18 CLC $91F9A5 6D 48 0B ADC $0B48 [$7E:0B48] $91F9A8 8D 48 0B STA $0B48 [$7E:0B48] $91F9AB AD 42 0B LDA $0B42 [$7E:0B42] $91F9AE 6D 46 0B ADC $0B46 [$7E:0B46] $91F9B1 8D 46 0B STA $0B46 [$7E:0B46] $91F9B4 9C 44 0B STZ $0B44 [$7E:0B44] $91F9B7 9C 42 0B STZ $0B42 [$7E:0B42] $91F9BA A9 01 00 LDA #$0001 $91F9BD 8D 4A 0B STA $0B4A [$7E:0B4A] $91F9C0 38 SEC $91F9C1 60 RTS $91F9C2 db 8B, 9C, 25, 8D, 8D $91F9C8 db 8E, 26, 9D, 8C, 97, A2, 43, 99, 99 $91F9D2 db 9A, 44, A3, 98, 8F, 9E, 2F, 91, 91, 92, 92, 30, 9F, 90, 93, A0, 87, 95, 95, 96, 96, 88, A1, 94, C1 $91F9EC db BF, C3 $91F9F1 db C0, C2 $91F9F4 AD 23 0A LDA $0A23 [$7E:0A23] $91F9F7 29 FF 00 AND #$00FF $91F9FA C9 04 00 CMP #$0004 $91F9FD F0 05 BEQ $05 [$FA04] $91F9FF C9 08 00 CMP #$0008 $91FA02 D0 06 BNE $06 [$FA0A] $91FA04 A9 00 80 LDA #$8000 $91FA07 8D 9A 0A STA $0A9A [$7E:0A9A] $91FA0A 20 0F FA JSR $FA0F [$91:FA0F] $91FA0D 18 CLC $91FA0E 60 RTS $91FA0F AD 22 0A LDA $0A22 [$7E:0A22] $91FA12 29 FF 00 AND #$00FF $91FA15 C9 08 00 CMP #$0008 $91FA18 F0 0D BEQ $0D [$FA27] $91FA1A AD 1E 0A LDA $0A1E [$7E:0A1E] $91FA1D 29 FF 00 AND #$00FF $91FA20 C9 08 00 CMP #$0008 $91FA23 F0 0D BEQ $0D [$FA32] $91FA25 80 2E BRA $2E [$FA55] $91FA27 AD 1E 0A LDA $0A1E [$7E:0A1E] $91FA2A 29 FF 00 AND #$00FF $91FA2D C9 04 00 CMP #$0004 $91FA30 D0 23 BNE $23 [$FA55] $91FA32 AD 44 0B LDA $0B44 [$7E:0B44] $91FA35 18 CLC $91FA36 6D 48 0B ADC $0B48 [$7E:0B48] $91FA39 8D 48 0B STA $0B48 [$7E:0B48] $91FA3C AD 42 0B LDA $0B42 [$7E:0B42] $91FA3F 6D 46 0B ADC $0B46 [$7E:0B46] $91FA42 8D 46 0B STA $0B46 [$7E:0B46] $91FA45 22 53 DE 91 JSL $91DE53[$91:DE53] $91FA49 9C 44 0B STZ $0B44 [$7E:0B44] $91FA4C 9C 42 0B STZ $0B42 [$7E:0B42] $91FA4F A9 01 00 LDA #$0001 $91FA52 8D 4A 0B STA $0B4A [$7E:0B4A] $91FA55 60 RTS $91FA56 AD 23 0A LDA $0A23 [$7E:0A23] $91FA59 29 FF 00 AND #$00FF $91FA5C C9 11 00 CMP #$0011 $91FA5F F0 0A BEQ $0A [$FA6B] $91FA61 C9 12 00 CMP #$0012 $91FA64 F0 05 BEQ $05 [$FA6B] $91FA66 C9 13 00 CMP #$0013 $91FA69 D0 06 BNE $06 [$FA71] $91FA6B A9 00 80 LDA #$8000 $91FA6E 8D 9A 0A STA $0A9A [$7E:0A9A] $91FA71 20 0F FA JSR $FA0F [$91:FA0F] $91FA74 18 CLC $91FA75 60 RTS $91FA76 22 3E EC 90 JSL $90EC3E[$90:EC3E] $91FA7A AD 5E 19 LDA $195E [$7E:195E] $91FA7D 30 0E BMI $0E [$FA8D] $91FA7F C5 12 CMP $12 [$7E:0012] $91FA81 10 13 BPL $13 [$FA96] $91FA83 AD 7E 19 LDA $197E [$7E:197E] $91FA86 89 04 00 BIT #$0004 $91FA89 D0 0B BNE $0B [$FA96] $91FA8B 80 3B BRA $3B [$FAC8] $91FA8D AD 62 19 LDA $1962 [$7E:1962] $91FA90 30 04 BMI $04 [$FA96] $91FA92 C5 12 CMP $12 [$7E:0012] $91FA94 30 32 BMI $32 [$FAC8] $91FA96 A9 00 06 LDA #$0600 $91FA99 8D F2 0A STA $0AF2 [$7E:0AF2] $91FA9C A9 03 00 LDA #$0003 $91FA9F 8D DA 0A STA $0ADA [$7E:0ADA] $91FAA2 A5 12 LDA $12 [$7E:0012] $91FAA4 8D EA 0A STA $0AEA [$7E:0AEA] $91FAA7 AD 1E 0A LDA $0A1E [$7E:0A1E] $91FAAA 29 FF 00 AND #$00FF $91FAAD C9 08 00 CMP #$0008 $91FAB0 F0 0C BEQ $0C [$FABE] $91FAB2 AD F6 0A LDA $0AF6 [$7E:0AF6] $91FAB5 18 CLC $91FAB6 69 06 00 ADC #$0006 $91FAB9 8D E2 0A STA $0AE2 [$7E:0AE2] $91FABC 18 CLC $91FABD 60 RTS $91FABE AD F6 0A LDA $0AF6 [$7E:0AF6] $91FAC1 38 SEC $91FAC2 E9 06 00 SBC #$0006 $91FAC5 8D E2 0A STA $0AE2 [$7E:0AE2] $91FAC8 18 CLC $91FAC9 60 RTS ;;; ;;; ; If $0A1C is below #$00CF, find appropriate value for $0A58 from $FAFC,X, set $0A60 to #$E90E (RTS). ; Clear some echoes stuff and play a sound $91FACA AD 1C 0A LDA $0A1C [$7E:0A1C] $91FACD C9 CF 00 CMP #$00CF $91FAD0 10 28 BPL $28 [$FAFA] $91FAD2 38 SEC $91FAD3 E9 C9 00 SBC #$00C9 $91FAD6 0A ASL A $91FAD7 AA TAX $91FAD8 BD FC FA LDA $FAFC,x[$91:FAFC] $91FADB 8D 58 0A STA $0A58 [$7E:0A58] $91FADE A9 0E E9 LDA #$E90E $91FAE1 8D 60 0A STA $0A60 [$7E:0A60] $91FAE4 9C AE 0A STZ $0AAE [$7E:0AAE] $91FAE7 9C C0 0A STZ $0AC0 [$7E:0AC0] $91FAEA 9C C2 0A STZ $0AC2 [$7E:0AC2] $91FAED 9C B0 0A STZ $0AB0 [$7E:0AB0] $91FAF0 9C B2 0A STZ $0AB2 [$7E:0AB2] $91FAF3 A9 0F 00 LDA #$000F $91FAF6 22 2F 91 80 JSL $80912F[$80:912F] $91FAFA 18 CLC $91FAFB 60 RTS $91FAFC db 06, D1, 06, D1, AB, D0, AB, D0, D7, D0, D7, D0 ;;; ;;; ; Get the animation frame number and timer for the current pose, adjusted (FX3, 0A66, 0A9A) $91FB08 08 PHP $91FB09 8B PHB $91FB0A 4B PHK $91FB0B AB PLB $91FB0C C2 30 REP #$30 $91FB0E AD A2 09 LDA $09A2 [$7E:09A2] $91FB11 89 20 00 BIT #$0020 $91FB14 D0 29 BNE $29 [$FB3F] $91FB16 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FB19 0A ASL A $91FB1A 0A ASL A $91FB1B 0A ASL A $91FB1C AA TAX $91FB1D BF 2F B6 91 LDA $91B62F,x[$91:B63F] $91FB21 29 FF 00 AND #$00FF $91FB24 18 CLC $91FB25 6D FA 0A ADC $0AFA [$7E:0AFA] $91FB28 3A DEC A $91FB29 85 12 STA $12 [$7E:0012] $91FB2B AD 5E 19 LDA $195E [$7E:195E] $91FB2E 30 06 BMI $06 [$FB36] $91FB30 C5 12 CMP $12 [$7E:0012] $91FB32 30 12 BMI $12 [$FB46] $91FB34 80 09 BRA $09 [$FB3F] $91FB36 AD 62 19 LDA $1962 [$7E:1962] $91FB39 30 04 BMI $04 [$FB3F] $91FB3B C5 12 CMP $12 [$7E:0012] $91FB3D 30 17 BMI $17 [$FB56] $91FB3F AD 66 0A LDA $0A66 [$7E:0A66] $91FB42 85 12 STA $12 [$7E:0012] $91FB44 80 16 BRA $16 [$FB5C] $91FB46 AD 7E 19 LDA $197E [$7E:197E] $91FB49 89 04 00 BIT #$0004 $91FB4C D0 F1 BNE $F1 [$FB3F] $91FB4E AF 93 9E 90 LDA $909E93[$90:9E93] $91FB52 85 12 STA $12 [$7E:0012] $91FB54 80 06 BRA $06 [$FB5C] $91FB56 AF 95 9E 90 LDA $909E95[$90:9E95] $91FB5A 85 12 STA $12 [$7E:0012] $91FB5C AD 9A 0A LDA $0A9A [$7E:0A9A] $91FB5F 30 2A BMI $2A [$FB8B] $91FB61 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FB64 CD 20 0A CMP $0A20 [$7E:0A20] $91FB67 F0 22 BEQ $22 [$FB8B] $91FB69 A9 00 00 LDA #$0000 $91FB6C 18 CLC $91FB6D 6D 9A 0A ADC $0A9A [$7E:0A9A] $91FB70 8D 96 0A STA $0A96 [$7E:0A96] $91FB73 A8 TAY $91FB74 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FB77 0A ASL A $91FB78 AA TAX $91FB79 98 TYA $91FB7A 18 CLC $91FB7B 7D 10 B0 ADC $B010,x[$91:B014] $91FB7E A8 TAY $91FB7F B9 00 00 LDA $0000,y[$91:B298] $91FB82 29 FF 00 AND #$00FF $91FB85 18 CLC $91FB86 65 12 ADC $12 [$7E:0012] $91FB88 8D 94 0A STA $0A94 [$7E:0A94] $91FB8B AB PLB $91FB8C 28 PLP $91FB8D 6B RTL $91FB8E 08 PHP $91FB8F 8B PHB $91FB90 4B PHK $91FB91 AB PLB $91FB92 C2 30 REP #$30 $91FB94 AD 23 0A LDA $0A23 [$7E:0A23] $91FB97 29 FF 00 AND #$00FF $91FB9A C9 06 00 CMP #$0006 $91FB9D F0 19 BEQ $19 [$FBB8] $91FB9F AD 1F 0A LDA $0A1F [$7E:0A1F] $91FBA2 29 FF 00 AND #$00FF $91FBA5 C9 06 00 CMP #$0006 $91FBA8 F0 02 BEQ $02 [$FBAC] $91FBAA 80 0C BRA $0C [$FBB8] $91FBB8 AB PLB $91FBB9 28 PLP $91FBBA 6B RTL ;;; ;;; ; Goes to FBCF,X, X = 0A1F*2 $91FBBB 08 PHP $91FBBC 8B PHB $91FBBD 4B PHK $91FBBE AB PLB $91FBBF C2 30 REP #$30 $91FBC1 AD 1F 0A LDA $0A1F [$7E:0A1F] $91FBC4 29 FF 00 AND #$00FF $91FBC7 0A ASL A $91FBC8 AA TAX $91FBC9 FC CF FB JSR ($FBCF,x)[$91:FC07] $91FBCC AB PLB $91FBCD 28 PLP $91FBCE 6B RTL $91FBCF db 07 $91FBD1 db 07 $91FBD3 db 66 $91FBD5 db 99 $91FBD7 db 07 $91FBD9 db 07 $91FBDB db 07 $91FBDF db 07 $91FBE3 db 07 $91FBEB db 07 $91FBED db 07 $91FBEF db 07 $91FBF1 db 07 $91FBF3 db 18 $91FBF5 db 07 $91FBF7 db 08 $91FBF9 db 07 $91FBFB db 07 $91FBFD db 07 $91FBFF db 07 $91FC01 db AE $91FC03 db 07 $91FC05 db 07 ;;; ;;; $91FC07 60 RTS ;;; ;;; $91FC08 AD 23 0A LDA $0A23 [$7E:0A23] $91FC0B 29 FF 00 AND #$00FF $91FC0E C9 14 00 CMP #$0014 $91FC11 F0 04 BEQ $04 [$FC17] $91FC13 22 49 99 90 JSL $909949[$90:9949] $91FC17 60 RTS ;;; ;;; $91FC18 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FC1B C9 7F 00 CMP #$007F $91FC1E D0 0D BNE $0D [$FC2D] $91FC20 AD 23 0A LDA $0A23 [$7E:0A23] $91FC23 29 FF 00 AND #$00FF $91FC26 C9 11 00 CMP #$0011 $91FC29 F0 12 BEQ $12 [$FC3D] $91FC2B 80 14 BRA $14 [$FC41] $91FC2D C9 80 00 CMP #$0080 $91FC30 D0 0F BNE $0F [$FC41] $91FC32 AD 23 0A LDA $0A23 [$7E:0A23] $91FC35 29 FF 00 AND #$00FF $91FC38 C9 11 00 CMP #$0011 $91FC3B D0 04 BNE $04 [$FC41] $91FC3D 22 BC 98 90 JSL $9098BC[$90:98BC] $91FC41 60 RTS ;;; ;;; ; #$000A pixel boost if crouchjumped, JSL 90:98BC if starting jump (checked by transitioning poses) $91FC66 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FC69 C9 4B 00 CMP #$004B $91FC6C F0 0F BEQ $0F [$FC7D] $91FC6E C9 4C 00 CMP #$004C $91FC71 F0 0A BEQ $0A [$FC7D] $91FC73 C9 55 00 CMP #$0055 $91FC76 30 20 BMI $20 [$FC98] $91FC78 C9 5B 00 CMP #$005B $91FC7B 10 1B BPL $1B [$FC98] $91FC7D AD 20 0A LDA $0A20 [$7E:0A20] $91FC80 C9 27 00 CMP #$0027 $91FC83 F0 05 BEQ $05 [$FC8A] $91FC85 C9 28 00 CMP #$0028 $91FC88 D0 0A BNE $0A [$FC94] $91FC8A AD FA 0A LDA $0AFA [$7E:0AFA] $91FC8D 38 SEC $91FC8E E9 0A 00 SBC #$000A $91FC91 8D FA 0A STA $0AFA [$7E:0AFA] $91FC94 22 BC 98 90 JSL $9098BC[$90:98BC] $91FC98 60 RTS ;;; ;;; ; JSL 90:98BC if starting jump (checked by previous movement type) $91FC99 AD 23 0A LDA $0A23 [$7E:0A23] $91FC9C 29 FF 00 AND #$00FF $91FC9F C9 03 00 CMP #$0003 $91FCA2 F0 09 BEQ $09 [$FCAD] $91FCA4 C9 14 00 CMP #$0014 $91FCA7 F0 04 BEQ $04 [$FCAD] $91FCA9 22 BC 98 90 JSL $9098BC[$90:98BC] $91FCAD 60 RTS ;;; ;;; $91FCAE 60 RTS ;;; ;;; $91FCAF 08 PHP $91FCB0 C2 30 REP #$30 $91FCB2 AD 1F 0A LDA $0A1F [$7E:0A1F] $91FCB5 29 FF 00 AND #$00FF $91FCB8 C9 0E 00 CMP #$000E $91FCBB D0 03 BNE $03 [$FCC0] $91FCBD 4C 43 FD JMP $FD43 [$91:FD43] $91FCC0 AD 1E 0A LDA $0A1E [$7E:0A1E] $91FCC3 29 FF 00 AND #$00FF $91FCC6 C9 04 00 CMP #$0004 $91FCC9 F0 2C BEQ $2C [$FCF7] $91FCCB A5 8B LDA $8B [$7E:008B] $91FCCD 2C AE 09 BIT $09AE [$7E:09AE] $91FCD0 F0 6F BEQ $6F [$FD41] $91FCD2 A9 00 01 LDA #$0100 $91FCD5 38 SEC $91FCD6 ED 82 0A SBC $0A82 [$7E:0A82] $91FCD9 8D 82 0A STA $0A82 [$7E:0A82] $91FCDC AD 1F 0A LDA $0A1F [$7E:0A1F] $91FCDF 29 FF 00 AND #$00FF $91FCE2 C9 05 00 CMP #$0005 $91FCE5 F0 08 BEQ $08 [$FCEF] $91FCE7 A9 25 00 LDA #$0025 $91FCEA 8D 1C 0A STA $0A1C [$7E:0A1C] $91FCED 80 32 BRA $32 [$FD21] $91FCF7 A5 8B LDA $8B [$7E:008B] $91FCF9 2C B0 09 BIT $09B0 [$7E:09B0] $91FCFC F0 43 BEQ $43 [$FD41] $91FCFE A9 00 01 LDA #$0100 $91FD01 38 SEC $91FD02 ED 82 0A SBC $0A82 [$7E:0A82] $91FD05 8D 82 0A STA $0A82 [$7E:0A82] $91FD08 AD 1F 0A LDA $0A1F [$7E:0A1F] $91FD0B 29 FF 00 AND #$00FF $91FD0E C9 05 00 CMP #$0005 $91FD11 F0 08 BEQ $08 [$FD1B] $91FD13 A9 26 00 LDA #$0026 $91FD16 8D 1C 0A STA $0A1C [$7E:0A1C] $91FD19 80 06 BRA $06 [$FD21] $91FD21 22 33 F4 91 JSL $91F433[$91:F433] $91FD25 22 08 FB 91 JSL $91FB08[$91:FB08] $91FD29 AD 20 0A LDA $0A20 [$7E:0A20] $91FD2C 8D 24 0A STA $0A24 [$7E:0A24] $91FD2F AD 22 0A LDA $0A22 [$7E:0A22] $91FD32 8D 26 0A STA $0A26 [$7E:0A26] $91FD35 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FD38 8D 20 0A STA $0A20 [$7E:0A20] $91FD3B AD 1E 0A LDA $0A1E [$7E:0A1E] $91FD3E 8D 22 0A STA $0A22 [$7E:0A22] $91FD41 28 PLP $91FD42 6B RTL $91FD43 AD 96 0A LDA $0A96 [$7E:0A96] $91FD46 C9 02 00 CMP #$0002 $91FD49 D0 61 BNE $61 [$FDAC] $91FD4B AD 94 0A LDA $0A94 [$7E:0A94] $91FD4E C9 01 00 CMP #$0001 $91FD51 D0 59 BNE $59 [$FDAC] $91FD53 AD 1E 0A LDA $0A1E [$7E:0A1E] $91FD56 29 FF 00 AND #$00FF $91FD59 C9 04 00 CMP #$0004 $91FD5C F0 18 BEQ $18 [$FD76] $91FD5E AD 1C 0A LDA $0A1C [$7E:0A1C] $91FD61 C9 26 00 CMP #$0026 $91FD64 D0 08 BNE $08 [$FD6E] $91FD66 A9 D5 00 LDA #$00D5 $91FD69 8D 1C 0A STA $0A1C [$7E:0A1C] $91FD6C 80 1E BRA $1E [$FD8C] $91FD76 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FD79 C9 25 00 CMP #$0025 $91FD7C D0 08 BNE $08 [$FD86] $91FD7E A9 D6 00 LDA #$00D6 $91FD81 8D 1C 0A STA $0A1C [$7E:0A1C] $91FD84 80 06 BRA $06 [$FD8C] $91FD8C 22 33 F4 91 JSL $91F433[$91:F433] $91FD90 22 08 FB 91 JSL $91FB08[$91:FB08] $91FD94 AD 20 0A LDA $0A20 [$7E:0A20] $91FD97 8D 24 0A STA $0A24 [$7E:0A24] $91FD9A AD 22 0A LDA $0A22 [$7E:0A22] $91FD9D 8D 26 0A STA $0A26 [$7E:0A26] $91FDA0 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FDA3 8D 20 0A STA $0A20 [$7E:0A20] $91FDA6 AD 1E 0A LDA $0A1E [$7E:0A1E] $91FDA9 8D 22 0A STA $0A22 [$7E:0A22] $91FDAC 28 PLP $91FDAD 6B RTL ;;; ;;; ; Nothing if 0A1C = 0 or 9B. ; If new vertical radius is bigger than old radius, check for collisions and adjust Samus's height as appropriate. ; If impossible to fit (both sides hit something), revert to oldstance $91FDAE 08 PHP $91FDAF C2 30 REP #$30 $91FDB1 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FDB4 F0 05 BEQ $05 [$FDBB] $91FDB6 C9 9B 00 CMP #$009B $91FDB9 D0 02 BNE $02 [$FDBD] $91FDBD 9C 34 0A STZ $0A34 [$7E:0A34] $91FDC0 9C 36 0A STZ $0A36 [$7E:0A36] $91FDC3 AD 1C 0A LDA $0A1C [$7E:0A1C] $91FDC6 0A ASL A $91FDC7 0A ASL A $91FDC8 0A ASL A $91FDC9 AA TAX $91FDCA BF 2F B6 91 LDA $91B62F,x[$91:B8CF] $91FDCE 29 FF 00 AND #$00FF $91FDD1 85 12 STA $12 [$7E:0012] $91FDD3 AD 20 0A LDA $0A20 [$7E:0A20] $91FDD6 0A ASL A $91FDD7 0A ASL A $91FDD8 0A ASL A $91FDD9 AA TAX $91FDDA BF 2F B6 91 LDA $91B62F,x[$91:B63F] $91FDDE 29 FF 00 AND #$00FF $91FDE1 C5 12 CMP $12 [$7E:0012] $91FDE3 30 02 BMI $02 [$FDE7] $91FDE5 28 PLP $91FDE6 60 RTS $91FDE7 8D 00 0B STA $0B00 [$7E:0B00] $91FDEA A5 12 LDA $12 [$7E:0012] $91FDEC 38 SEC $91FDED ED 00 0B SBC $0B00 [$7E:0B00] $91FDF0 8D 3A 0A STA $0A3A [$7E:0A3A] $91FDF3 85 12 STA $12 [$7E:0012] $91FDF5 64 14 STZ $14 [$7E:0014] $91FDF7 A9 02 00 LDA #$0002 $91FDFA 8D 02 0B STA $0B02 [$7E:0B02] $91FDFD 22 F0 A8 A0 JSL $A0A8F0[$A0:A8F0] $91FE01 8D D0 0D STA $0DD0 [$7E:0DD0] $91FE04 AA TAX $91FE05 F0 06 BEQ $06 [$FE0D] $91FE07 A9 01 00 LDA #$0001 $91FE0A 8D 34 0A STA $0A34 [$7E:0A34] $91FE0D A5 12 LDA $12 [$7E:0012] $91FE0F 8D 3E 0A STA $0A3E [$7E:0A3E] $91FE12 AD 3A 0A LDA $0A3A [$7E:0A3A] $91FE15 85 12 STA $12 [$7E:0012] $91FE17 64 14 STZ $14 [$7E:0014] $91FE19 A9 03 00 LDA #$0003 $91FE1C 8D 02 0B STA $0B02 [$7E:0B02] $91FE1F 22 F0 A8 A0 JSL $A0A8F0[$A0:A8F0] $91FE23 8D D0 0D STA $0DD0 [$7E:0DD0] $91FE26 AA TAX $91FE27 F0 09 BEQ $09 [$FE32] $91FE29 AD 34 0A LDA $0A34 [$7E:0A34] $91FE2C 09 02 00 ORA #$0002 $91FE2F 8D 34 0A STA $0A34 [$7E:0A34] $91FE32 A5 12 LDA $12 [$7E:0012] $91FE34 8D 40 0A STA $0A40 [$7E:0A40] $91FE37 AD 34 0A LDA $0A34 [$7E:0A34] $91FE3A 0A ASL A $91FE3B AA TAX $91FE3C FC 8A FE JSR ($FE8A,x)[$91:FE9A] $91FE3F B0 41 BCS $41 [$FE82] $91FE41 AD 3A 0A LDA $0A3A [$7E:0A3A] $91FE44 49 FF FF EOR #$FFFF $91FE47 1A INC A $91FE48 85 12 STA $12 [$7E:0012] $91FE4A 64 14 STZ $14 [$7E:0014] $91FE4C 22 AB 96 94 JSL $9496AB[$94:96AB] $91FE50 90 06 BCC $06 [$FE58] $91FE52 A9 01 00 LDA #$0001 $91FE55 8D 36 0A STA $0A36 [$7E:0A36] $91FE58 A5 12 LDA $12 [$7E:0012] $91FE5A 8D 38 0A STA $0A38 [$7E:0A38] $91FE5D AD 3A 0A LDA $0A3A [$7E:0A3A] $91FE60 85 12 STA $12 [$7E:0012] $91FE62 64 14 STZ $14 [$7E:0014] $91FE64 22 AB 96 94 JSL $9496AB[$94:96AB] $91FE68 90 09 BCC $09 [$FE73] $91FE6A AD 36 0A LDA $0A36 [$7E:0A36] $91FE6D 09 02 00 ORA #$0002 $91FE70 8D 36 0A STA $0A36 [$7E:0A36] $91FE73 A5 12 LDA $12 [$7E:0012] $91FE75 8D 3C 0A STA $0A3C [$7E:0A3C] $91FE78 AD 36 0A LDA $0A36 [$7E:0A36] $91FE7B 0A ASL A $91FE7C AA TAX $91FE7D FC 92 FE JSR ($FE92,x)[$91:FF49] $91FE80 90 06 BCC $06 [$FE88] $91FE82 AD 20 0A LDA $0A20 [$7E:0A20] $91FE85 8D 1C 0A STA $0A1C [$7E:0A1C] $91FE88 28 PLP $91FE89 60 RTS $91FE8A db 9A $91FE8C db 9E $91FE8E db DF $91FE92 db 76 $91FE94 db 20 $91FE96 db 49 $91FE98 db A7 $91FE9A 18 CLC $91FE9B 60 RTS $91FE9E AD 3A 0A LDA $0A3A [$7E:0A3A] $91FEA1 38 SEC $91FEA2 ED 3E 0A SBC $0A3E [$7E:0A3E] $91FEA5 85 12 STA $12 [$7E:0012] $91FEA7 64 14 STZ $14 [$7E:0014] $91FEA9 AD 00 0B LDA $0B00 [$7E:0B00] $91FEAC 48 PHA $91FEAD AD 1C 0A LDA $0A1C [$7E:0A1C] $91FEB0 0A ASL A $91FEB1 0A ASL A $91FEB2 0A ASL A $91FEB3 AA TAX $91FEB4 BF 2F B6 91 LDA $91B62F,x[$91:BB5F] $91FEB8 29 FF 00 AND #$00FF $91FEBB 8D 00 0B STA $0B00 [$7E:0B00] $91FEBE A9 03 00 LDA #$0003 $91FEC1 8D 02 0B STA $0B02 [$7E:0B02] $91FEC4 22 F0 A8 A0 JSL $A0A8F0[$A0:A8F0] $91FEC8 8D D0 0D STA $0DD0 [$7E:0DD0] $91FECB AA TAX $91FECC D0 0B BNE $0B [$FED9] $91FECE A5 12 LDA $12 [$7E:0012] $91FED0 8D 3E 0A STA $0A3E [$7E:0A3E] $91FED3 68 PLA $91FED4 8D 00 0B STA $0B00 [$7E:0B00] $91FED7 18 CLC $91FED8 60 RTS $91FEDF AD 3A 0A LDA $0A3A [$7E:0A3A] $91FEE2 38 SEC $91FEE3 ED 40 0A SBC $0A40 [$7E:0A40] $91FEE6 85 12 STA $12 [$7E:0012] $91FEE8 64 14 STZ $14 [$7E:0014] $91FEEA AD 00 0B LDA $0B00 [$7E:0B00] $91FEED 48 PHA $91FEEE AD 1C 0A LDA $0A1C [$7E:0A1C] $91FEF1 0A ASL A $91FEF2 0A ASL A $91FEF3 0A ASL A $91FEF4 AA TAX $91FEF5 BF 2F B6 91 LDA $91B62F,x[$91:BB57] $91FEF9 29 FF 00 AND #$00FF $91FEFC 8D 00 0B STA $0B00 [$7E:0B00] $91FEFF A9 02 00 LDA #$0002 $91FF02 8D 02 0B STA $0B02 [$7E:0B02] $91FF05 22 F0 A8 A0 JSL $A0A8F0[$A0:A8F0] $91FF09 8D D0 0D STA $0DD0 [$7E:0DD0] $91FF0C AA TAX $91FF0D D0 0B BNE $0B [$FF1A] $91FF0F A5 12 LDA $12 [$7E:0012] $91FF11 8D 40 0A STA $0A40 [$7E:0A40] $91FF14 68 PLA $91FF15 8D 00 0B STA $0B00 [$7E:0B00] $91FF18 18 CLC $91FF19 60 RTS $91FF20 AD 3A 0A LDA $0A3A [$7E:0A3A] $91FF23 38 SEC $91FF24 ED 38 0A SBC $0A38 [$7E:0A38] $91FF27 85 12 STA $12 [$7E:0012] $91FF29 64 14 STZ $14 [$7E:0014] $91FF2B 22 AB 96 94 JSL $9496AB[$94:96AB] $91FF2F B0 16 BCS $16 [$FF47] $91FF31 AD 34 0A LDA $0A34 [$7E:0A34] $91FF34 89 02 00 BIT #$0002 $91FF37 D0 6E BNE $6E [$FFA7] $91FF39 AD FA 0A LDA $0AFA [$7E:0AFA] $91FF3C 18 CLC $91FF3D 65 12 ADC $12 [$7E:0012] $91FF3F 8D FA 0A STA $0AFA [$7E:0AFA] $91FF42 8D 14 0B STA $0B14 [$7E:0B14] $91FF45 18 CLC $91FF46 60 RTS $91FF49 AD 3A 0A LDA $0A3A [$7E:0A3A] $91FF4C 38 SEC $91FF4D ED 3C 0A SBC $0A3C [$7E:0A3C] $91FF50 49 FF FF EOR #$FFFF $91FF53 1A INC A $91FF54 85 12 STA $12 [$7E:0012] $91FF56 64 14 STZ $14 [$7E:0014] $91FF58 22 AB 96 94 JSL $9496AB[$94:96AB] $91FF5C B0 16 BCS $16 [$FF74] $91FF5E AD 34 0A LDA $0A34 [$7E:0A34] $91FF61 89 01 00 BIT #$0001 $91FF64 D0 41 BNE $41 [$FFA7] $91FF66 AD FA 0A LDA $0AFA [$7E:0AFA] $91FF69 38 SEC $91FF6A E5 12 SBC $12 [$7E:0012] $91FF6C 8D FA 0A STA $0AFA [$7E:0AFA] $91FF6F 8D 14 0B STA $0B14 [$7E:0B14] $91FF72 18 CLC $91FF73 60 RTS $91FF76 AD 34 0A LDA $0A34 [$7E:0A34] $91FF79 0A ASL A $91FF7A AA TAX $91FF7B 7C 7F FF JMP ($FF7F,x)[$91:FF87] $91FF7F db 87 $91FF83 db 98 $91FF87 18 CLC $91FF88 60 RTS $91FF98 AD FA 0A LDA $0AFA [$7E:0AFA] $91FF9B 38 SEC $91FF9C ED 40 0A SBC $0A40 [$7E:0A40] $91FF9F 8D FA 0A STA $0AFA [$7E:0AFA] $91FFA2 8D 14 0B STA $0B14 [$7E:0B14] $91FFA5 18 CLC $91FFA6 60 RTS $91FFA7 AD 00 0B LDA $0B00 [$7E:0B00] $91FFAA C9 08 00 CMP #$0008 $91FFAD 10 02 BPL $02 [$FFB1] $91FFAF 38 SEC $91FFB0 60 RTS $91FFB1 AD 1E 0A LDA $0A1E [$7E:0A1E] $91FFB4 29 FF 00 AND #$00FF $91FFB7 C9 04 00 CMP #$0004 $91FFBA F0 05 BEQ $05 [$FFC1] $91FFBC A9 27 00 LDA #$0027 $91FFBF 80 03 BRA $03 [$FFC4] $91FFC1 A9 28 00 LDA #$0028 $91FFC4 8D 1C 0A STA $0A1C [$7E:0A1C] $91FFC7 0A ASL A $91FFC8 0A ASL A $91FFC9 0A ASL A $91FFCA AA TAX $91FFCB BF 2F B6 91 LDA $91B62F,x[$91:B767] $91FFCF 29 FF 00 AND #$00FF $91FFD2 85 12 STA $12 [$7E:0012] $91FFD4 AD 00 0B LDA $0B00 [$7E:0B00] $91FFD7 C5 12 CMP $12 [$7E:0012] $91FFD9 10 11 BPL $11 [$FFEC] $91FFDB 38 SEC $91FFDC E5 12 SBC $12 [$7E:0012] $91FFDE 85 12 STA $12 [$7E:0012] $91FFE0 AD FA 0A LDA $0AFA [$7E:0AFA] $91FFE3 18 CLC $91FFE4 65 12 ADC $12 [$7E:0012] $91FFE6 8D FA 0A STA $0AFA [$7E:0AFA] $91FFE9 8D 14 0B STA $0B14 [$7E:0B14] $91FFEC 18 CLC $91FFED 60 RTS