Advertisement
MatthewGamingLive

Mosaic Mod for SMW Jailbreak

Jun 21st, 2017
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. 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.
  2.  
  3. Controls:
  4. 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.
  5.  
  6. Each change to the mosaic levels takes effect whenever the game fades or something.
  7.  
  8. Compiled Code:
  9. AD B0 0D 4A 4A 4A 4A 85 58 1A 22 4C 97 00 8E 0E
  10. 0F 8D 0F 0F AD A7 0D C9 20 F0 21 A5 18 C9 10 F0
  11. 05 C9 20 F0 0C 6B A5 58 1A 0A 0A 0A 0A 8D B0 0D
  12. 6B A5 58 3A 0A 0A 0A 0A 8D B0 0D 6B AD B0 0D 49
  13. 0F 8D B0 0D 6B
  14.  
  15. Raw Code:
  16. ; mosaic status bar display
  17. LDA $0DB0 ; loads into A register $2106, mosaic effects
  18. LSR #4 ; bit shifts to put mosaic effect in the last 4 bits
  19. STA $58 ; we'll use this later
  20. INC A ; adjusts by one to make it "correct"
  21. JSL $00974C ; hex2dec
  22. STX $0F0E ; tens status bar
  23. STA $0F0F ; ones status bar
  24.  
  25. ; mosaic status editor
  26. LDA $0DA7 ; loads controller 2 data 1 first frame
  27. CMP #%00100000 ; are you pressing select
  28. BEQ .toggle ; ok if you did it
  29. LDA $18 ; loads controller 1 data 2 first frame
  30. CMP #%00010000 ; did you press right shoulder button
  31. BEQ .increase ; ok if you did
  32. CMP #%00100000 ; did you press left shoulder button
  33. BEQ .decrease ; ok if you did
  34. RTL ; you failure why didn't you press the shoulder buttons
  35.  
  36. .increase:
  37. LDA $58 ; loads in that adjusted mosaic value from earlier
  38. INC A ; embiggended
  39. ASL #4 ; very embiggened
  40. STA $0DB0 ; stores back into mosaic register
  41. RTL ; thank you come again
  42.  
  43. .decrease:
  44. LDA $58 ; loads in that adjusted mosaic value from earlier
  45. DEC A ; removed one
  46. ASL #4 ; very embiggened
  47. STA $0DB0 ; stores back into mosaic register
  48. RTL ; thank you come again
  49.  
  50. .toggle:
  51. LDA $0DB0 ; loads in the mosaic effect
  52. EOR #$0F ; effectively toggles layer 3's bit if it gets affected by mosaic
  53. STA $0DB0 ; puts the new number back
  54. RTL ; ok rip status bar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement