Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route16GateScript0: ; 496d7 (12:56d7)
- call Route16GateScript_49755
- ret nz
- ld hl, CoordsData_49714
- call ArePlayerCoordsInArray
- ret nc
- ld a, $FC ;SHANEM CODE
- ld [$CD6B], a ;SHANEM CODE
- ld a, $3
- ld [$ff8c], a
- call DisplayTextID
- xor a
- ld [hJoyHeld], a
- ld a, [wWhichTrade]
- cp $1
- jr z, .asm_4970e ; 0x496f1 $1b
- ld a, [wWhichTrade]
- dec a
- ld [wSimulatedJoypadStatesIndex], a
- ld b, $0
- ld c, a
- ld a, $40
- ld hl, wSimulatedJoypadStatesEnd
- call FillMemory
- call StartSimulatingJoypadStates
- ld a, $1
- ld [W_ROUTE16GATECURSCRIPT], a
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement