Can anyone help me convert this to SA-1? It is for uberasm and I can't get it to work. It is supposed to make it so that Yoshi will show up at his house after the rescue flag has been set.
this is the original code that works on non SA-1 roms
and this is the changes I have tried to make.
I think it has something to do with the looping or sprite tables. I can't quite figure out what to change.
Trust the Fungus.
this is the original code that works on non SA-1 roms
Code
init: LDA $0EF8 ; Yoshi Found for the first time flag BNE .ret LDX #$09 - LDA $9E,x CMP #$35 ; sprite number for green yoshi BNE + LDA $C2,x BEQ .found + DEX BPL - .ret RTL .found STZ $14C8,x ; Sprite Status, setting this to 0 makes it so the sprite wont exist RTL
and this is the changes I have tried to make.
Code
init: LDA $6EF8 ; Yoshi Found for the first time flag BNE .ret LDX #$09 - LDA $9E,x CMP #$35 ; sprite number for green yoshi BNE + LDA $C2,x BEQ .found + DEX BPL - .ret RTL .found STZ $74C8,x ; Sprite Status, setting this to 0 makes it so the sprite wont exist RTL
I think it has something to do with the looping or sprite tables. I can't quite figure out what to change.
Trust the Fungus.