Language…
14 users online:  Ahrion, alef, Boosius, E-man38, Enrique, Firstnamebutt, Guleyan112, Joaololpvp, MarioriaM, Mischievous Marc, Saela,  Saphros, WishingBag6876, xhsdf - Guests: 918 - Bots: 169
Users: 65,122 (2,301 active)
Latest user: A_randomaccount1233

Sugar's Profile

Sugar

Name:  Sugar
Title: Pronouns: Fae/Faer
Forum posts: 1355 (0.26 per day)
Forum threads: 61 (22.21 posts per thread)
Since: (registered for 14 years, 1 month and 30 days)
Last post: , in lunar ips or floating ips? (SMW Hacking Discussion)
Last activity: (13 hours, 51 minutes and 35 seconds ago)
Files: View
Submissions: 6 (View)
Location:
Local time: (1 hour from the server)
Groups: Beta Testers

Contact

Website:

User Bio

Oh no, have some very experimental spoilers:
Hello, spoilers. How are you today?
Another spoiler, just for demonstration.

Neat tricks (vanilla)

Vanilla 1UP point checkpoints:
Super Mario World has four 1UP checkpoints objects. They don't appear if you already collected them all in a level (even if you die), so they can be used for checkpointing. Essentially, you can hide blocks (for instance warp pipes) by putting 1UP checkpoints over those. Then, when time comes you can guarantee getting 1UP checkpoint (by putting multiple 1UP checkpoints in a row).

Display Level Message 2:
Put two Display Level Message 1 sprites in the same place.

Inverse switch palace blocks:
To be written, but I somehow managed to do that in vanilla (hint: bottom tiles of palace switches are solid, the object doesn't appear when switch is already pressed, so you can put something below it).

Neat tricks (ASM)

Hardware registers:
http://problemkaputt.de/fullsnes.htm

Disable statusbar IRQ:
Code
	LDA #$01
	STA $0D9B


JSL to subroutine ending with RTS (credit: I don't know, possibly Alcaro):
This code works by pushing five bytes on stack (bank, return address, address of byte 6B (RTL) minus 1 (to handle PC implicitly changing) in a given bank. Then it jumps to RTS function, which uses RTS opcode to move PC to RTL opcode, which returns to a provided location
Code
PHK
PEA.w .ret-1
PEA.w $varies
JML $subroutineaddress
.ret

varies table depending on bank (fast ROM banks are identical, so change 8X into 0X):
00 - $84CE
01 - $80C9
02 - $B888
03 - $827E
04 - $8574
05 - $8124
07 - $FC50
0C - $9398
0D - $A104
7X - write RTL somewhere or modify your function to end with RTL
Originally posted by Sample quote

Code
Sample code

Sample post