palettefrick

by nambona

Game: SMW

Description: i'm not sorry

notsorry:
;LDA $13
;AND #$03
;BEQ +
;RTL
;+

;JSL $01ACF9
;LDA $148D
LDA $13
BIT #$03
BEQ +
RTL
+
ASL
ASL
AND #$F0
STA $0683
LDA #$10
STA $0682

JSR RNG
LDA $148D
STA $0684
LDA $148E
STA $0685

JSR RNG
LDA $148D
STA $0686
LDA $148E
STA $0687

JSR RNG
LDA $148D
STA $0688
LDA $148E
STA $0689

JSR RNG
LDA $148D
STA $068A
LDA $148E
STA $068B

JSR RNG
LDA $148D
STA $068C
LDA $148E
STA $068D

JSR RNG
LDA $148D
STA $068E
LDA $148E
STA $068F

JSR RNG
LDA $148D
STA $0690
LDA $148E
STA $0691

JSR RNG
LDA $148D
STA $0692
LDA $148E
STA $0693
RTL

RNG:
  REP #$20
; If you know you will be coming here from the SNES side, you can make Accumulator 16-bit, and then jump here to save some time
  LDA $2137		;\ PPU registers
  LDA $213C   ;/
  ADC $13
  ADC $148D   ; 36
  ADC $14
  XBA
  STA $148D
  SEP #$20
  RTS
back to listings