Oh wait I'm stupid. You don't need UberASM for this, you can just edit CustomCoin.asm. Find these lines:
Code LDA #$01 ;\Play "coin" SFX. Go http://smwc.me/t/6665 to
STA $1DFC ;/find other SFX values so you can customize it
Right below them and before the RTL, put this:
Code REP #$20
LDA #!Level|(((!Water<<3)|(1<<2)|(!Secondary<<1))<<8)
%teleport()
And put those defines at the top of the block:
Code!Level = $0103 ;level to teleport to
!Secondary = 0 ;set to 1 if secondary exit
!Water = 0 ;set to 1 if secondary exit is a water level
Let me know if this works.
--------------------
Why are you like this!?
Follow Us On