Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This mod for Sethbling's SMW Jailbreak is basically Dotsarecool's "Super Mosaic World" with a few more customization options and can technically be played on a real cartridge! The SNES mosaic effect basically pixellates the screen, making a pixel up to 16 times its original size.
- Controls:
- Use the L and R shoulder buttons to change the size of the mosaic effect. There is an indicator on the status bar to let you know how big each mosaic "pixel" should be. If you are angery because layer 3 isn't affected by the mosaic just press Select on the second controller to toggle it.
- Each change to the mosaic levels takes effect whenever the game fades or something.
- Compiled Code:
- AD B0 0D 4A 4A 4A 4A 85 58 1A 22 4C 97 00 8E 0E
- 0F 8D 0F 0F AD A7 0D C9 20 F0 21 A5 18 C9 10 F0
- 05 C9 20 F0 0C 6B A5 58 1A 0A 0A 0A 0A 8D B0 0D
- 6B A5 58 3A 0A 0A 0A 0A 8D B0 0D 6B AD B0 0D 49
- 0F 8D B0 0D 6B
- Raw Code:
- ; mosaic status bar display
- LDA $0DB0 ; loads into A register $2106, mosaic effects
- LSR #4 ; bit shifts to put mosaic effect in the last 4 bits
- STA $58 ; we'll use this later
- INC A ; adjusts by one to make it "correct"
- JSL $00974C ; hex2dec
- STX $0F0E ; tens status bar
- STA $0F0F ; ones status bar
- ; mosaic status editor
- LDA $0DA7 ; loads controller 2 data 1 first frame
- CMP #%00100000 ; are you pressing select
- BEQ .toggle ; ok if you did it
- LDA $18 ; loads controller 1 data 2 first frame
- CMP #%00010000 ; did you press right shoulder button
- BEQ .increase ; ok if you did
- CMP #%00100000 ; did you press left shoulder button
- BEQ .decrease ; ok if you did
- RTL ; you failure why didn't you press the shoulder buttons
- .increase:
- LDA $58 ; loads in that adjusted mosaic value from earlier
- INC A ; embiggended
- ASL #4 ; very embiggened
- STA $0DB0 ; stores back into mosaic register
- RTL ; thank you come again
- .decrease:
- LDA $58 ; loads in that adjusted mosaic value from earlier
- DEC A ; removed one
- ASL #4 ; very embiggened
- STA $0DB0 ; stores back into mosaic register
- RTL ; thank you come again
- .toggle:
- LDA $0DB0 ; loads in the mosaic effect
- EOR #$0F ; effectively toggles layer 3's bit if it gets affected by mosaic
- STA $0DB0 ; puts the new number back
- RTL ; ok rip status bar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement