Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route18GateScript0: ; 4988f (12:588f)
- call Route16GateScript_49755
- ret nz
- ld hl, CoordsData_498cc
- call ArePlayerCoordsInArray
- ret nc
- ld a, $FC ;SHANEM CODE
- ld [$CD6B], a ;SHANEM CODE
- ld a, $2
- ld [$ff8c], a
- call DisplayTextID
- xor a
- ld [hJoyHeld], a
- ld a, [wWhichTrade]
- cp $1
- jr z, .asm_498c6 ; 0x498a9 $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_ROUTE18GATECURSCRIPT], a
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement