Users browsing this thread: 2 Guest(s)
Event Hacking question
07-09-2013, 09:22 PM
You can do that, or you can jump to the scene at the Blackjack directly after the conversation. Since there is no specific "branch" or "jump" instruction in the event code, you can use event bit $1EA4:7. That bit is always clear to ensure the branch is always taken.
Keep in mind all branches are relative to bank $CA, so your branch would look like this:
Notice that the last three bytes are your branch destination in little endian (reverse byte) order, relative to bank CA (so the 01 actually points to CB).
Keep in mind all branches are relative to bank $CA, so your branch would look like this:
Code:
C0 27 01 1C 1E 01 (This says "If ($1E80($127) [$1EA4, bit 7] is clear), branch to $CB1E1C")
Notice that the last three bytes are your branch destination in little endian (reverse byte) order, relative to bank CA (so the 01 actually points to CB).
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)