Users browsing this thread: 1 Guest(s)
Make "The Veldt" jungle theme play everywhere on the overworld Map.
Here's the hex values for the new code. I changed the JMP for a BRA which has the same result. The rest remains the same:
The last instruction, RTS, is 60. The parameter of a BRA and BNE instruction is the number of bytes between the instruction and the instruction it jumps to. You can find an instruction list here. Some instructions have a different hex value and variables numbers of parameters depending of the context they are use into.
Code:
03) C901 CMP #$01 (Check if in WOB)
04) D004 BNE $???? (jump to step 7)
05) A919 LDA #$19 (Veldt song ID)
06) 800E BRA $???? (Jump to step 14)
The last instruction, RTS, is 60. The parameter of a BRA and BNE instruction is the number of bytes between the instruction and the instruction it jumps to. You can find an instruction list here. Some instructions have a different hex value and variables numbers of parameters depending of the context they are use into.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)