11 March 2016 - Forum Rules
Started by Sarah Shinespark, October 17, 2020, 11:27:00 AM
$87/A39D A6 00 LDX $00 [$00:1E00] A:0000 X:0000 Y:0032 D:1E00 DB:80 S:1FF1 P:envmxdIZc HC:0536 VC:260 FC:31 I:00$87/A39F A0 33 00 LDY #$0033 A:0000 X:06B5 Y:0032 D:1E00 DB:80 S:1FF1 P:envmxdIzc HC:0610 VC:260 FC:31 I:00(Draws the ring text to display buffer)$87/A3A2 20 C9 A3 JSR $A3C9 [$87:A3C9] A:0000 X:06B5 Y:0033 D:1E00 DB:80 S:1FF1 P:envmxdIzc HC:0634 VC:260 FC:31 I:00$87/A3A5 FA PLX A:0000 X:06C5 Y:0043 D:1E00 DB:80 S:1FF1 P:envmxdIZC HC:1074 VC:000 FC:31 I:00(Checks if current party member is a Spirit (value=2)$87/A3A6 BD C3 11 LDA $11C3,x[$80:11C3] A:0000 X:0000 Y:0043 D:1E00 DB:80 S:1FF3 P:envmxdIZC HC:1188 VC:000 FC:31 I:00$87/A3A9 29 FF 00 AND #$00FF A:0000 X:0000 Y:0043 D:1E00 DB:80 S:1FF3 P:envmxdIZC HC:1234 VC:000 FC:31 I:00$87/A3AC C9 02 00 CMP #$0002 A:0000 X:0000 Y:0043 D:1E00 DB:80 S:1FF3 P:envmxdIZC HC:1258 VC:000 FC:31 I:00$87/A3AF F0 11 BEQ $11 [$A3C2] A:0000 X:0000 Y:0043 D:1E00 DB:80 S:1FF3 P:eNvmxdIzc HC:1282 VC:000 FC:31 I:00$87/A3B1 DA PHX A:0000 X:0000 Y:0043 D:1E00 DB:80 S:1FF3 P:eNvmxdIzc HC:1300 VC:000 FC:31 I:00(Calculates Attack power)$87/A3B2 22 CA C4 80 JSL $80C4CA[$80:C4CA] A:0000 X:0000 Y:0043 D:1E00 DB:80 S:1FF1 P:eNvmxdIzc HC:1334 VC:000 FC:31 I:00
22 30 E0 80 jsl 80E0305A phyDA phxA2 00 00 ldx 0000A0 00 00 ldy 000020 DC C6 jsr c6dc09 00 20 ora #20008D F1 16 sta 16F1FA plx7A plyFA plxA2 00 00 ldx 0000BD C3 11 lda 11c3,x6B rtl
; at 87/A3A6:22 30 E0 80 jsl $80E030; preserve original code alignmentEA nopEA nop; at 80/E030:5A phyDA phxA2 00 00 ldx $0000A0 00 00 ldy $000020 DC C6 jsr $c6dc09 00 20 ora #$20008D F1 16 sta $16F1FA plx7A plyBD C3 11 lda $11c3,x29 FF 00 and #$00ff6B rtl
Quote from: Sarah Shinespark on October 17, 2020, 05:04:45 PMOhhh, the return address is 2 bytes. That makes sense.
Quote from: Sarah Shinespark on October 17, 2020, 05:04:45 PMI fixed it with your help, now working on a display logic error. Thanks!
Quote from: Sarah Shinespark on October 17, 2020, 10:49:38 PMI usually just see BRK in the middle of display code to indicate the end, so it's not obvious to me where it's going. So it uses the stack, huh?
Page created in 0.057 seconds with 20 queries.