13 users online: BoggedPizza666, DashGamer, jarbar3000,  MarioFanGamer, MarioSonic4life, Mil648, Romano338, Saela, Shuttles,  Tahixham, timothy726, xfix, Zavok - Guests: 60 - Bots: 182 Users: 55,581 (2,477 active)
Latest user: Mil648
Not logged in.
Profile for xfix
Name:   xfix
Forum posts:  1352 (0.30 per day)
Forum threads:  61 (22.16 posts per thread)
Since:  (registered for 12 years, 5 months and 17 days)
Last post:  , in SMWCentral Official Annual Music Tourney #2 (2022) - Preliminary Round: Set U (Current Contests & Events)
Last activity:  (4 minutes and 15 seconds ago)
Files:  View
Submissions:  6 (View)
Local time:  (2 hours from the server)
Groups:  Beta Testers
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:

Disable statusbar IRQ:
	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
PEA.w .ret-1
PEA.w $varies
JML $subroutineaddress

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
Show Trophies
ROM Hacking Contests

Other Contests

Site Events

SMW Central




Sample Post
Originally posted by Sample quote

Sample code

Sample post

Legacy ports zip (now that those went down because Dropbox)