I am familiar with the uberasmtool, i know how to use it for the most part. I'm trying to insert Coin Outline which is an outline of a coin that turns into a coin, like in New Super Mario Bros Wii. The block was easy to insert, but the code for uberasm is this:
All it says is put it in the code folder. I tried putting this code in the global code asm file, but it didn't do anything. Can someone help me figure out where this code is supposed to go?
Code
; Please insert this code in your uberASM code folder. !RAM = $7F8600 global_code: LDX #$EB ; 48 coin slots .loop LDA !RAM,x ; If the timer is nonzero, BEQ .next DEC ; decrement timer. STA !RAM,x BNE .next ; If the timer turned to zero, REP #$20 LDA !RAM+1,x ; Get X position, STA $9A LDA !RAM+3,x ; Get Y position, STA $98 SEP #$20 LDA #$06 STA $9C JSL $00BEB0 ; And create a coin .next DEX #5 ; Check the next slot CPX #$FB BNE .loop RTS
All it says is put it in the code folder. I tried putting this code in the global code asm file, but it didn't do anything. Can someone help me figure out where this code is supposed to go?