I wrote this whole long thing and you answered the question while i was writing. ninja'd
I wrote this whole long thing and you answered the question while i was writing. ninja'd
HuFlungDu's Profile → Posts
!freeSpace = $218000 macro RATS_start(id) db "STAR" dw RATS_Endcode<id>-RATS_Startcode<id> dw RATS_Endcode<id>-RATS_Startcode<id>^#$FFFF RATS_Startcode<id>: endmacro macro RATS_end(id) RATS_Endcode<id>: endmacro lorom header org $ JSL DeathRoutine org !freeSpace %RATS_start(0) DeathRoutine: LDA $02 ;1 = normal exit, 2 = secret exit TAX LDA $0DD5 BEQ Skip BPL Return Skip: TXA STA $13CE ;activate midway point flag STA $0DD5 ;activate exit point INC $1DE9 ; LDA #$0B ;fade STA $0100 ;to OW (without blur effect) return: RTL %RATS_end(0)
!freeSpace = $2080CA macro RATS_start(id) db "STAR" dw RATS_Endcode<id>-RATS_Startcode<id> dw RATS_Endcode<id>-RATS_Startcode<id>^#$FFFF RATS_Startcode<id>: endmacro macro RATS_end(id) RATS_Endcode<id>: endmacro lorom header org $00F606 JSL DeathRoutine ; I assume I would put it here? org !freeSpace %RATS_start(0) DeathRoutine: LDA #$90 STA $7D ; hacked code. LDA $01 ;1 = normal exit, 2 = secret exit TAX LDA $0DD5 BEQ Skip Skip: TXA STA $13CE ;activate midway point flag STA $0DD5 ;activate exit point INC $1DE9 ; LDA #$0B ;fade STA $0100 ;to OW (without blur effect) return: