diff options
author | dannye <33dannye@gmail.com> | 2020-05-20 19:40:33 -0500 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2020-05-20 20:02:53 -0500 |
commit | 10f9559eab8c93b94abb8ae8d1083704ad4e169a (patch) | |
tree | 7dbe7b152dde8a6e9b56664b5b8cdfc0d6be1253 /scripts/route12gateupstairs.asm | |
parent | b8954732a3eaa3a784a6e3eaaa68977a9ccd9816 (diff) |
Sync with pokered
Diffstat (limited to 'scripts/route12gateupstairs.asm')
-rwxr-xr-x | scripts/route12gateupstairs.asm | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/scripts/route12gateupstairs.asm b/scripts/route12gateupstairs.asm deleted file mode 100755 index b80ca186..00000000 --- a/scripts/route12gateupstairs.asm +++ /dev/null @@ -1,77 +0,0 @@ -Route12GateUpstairsScript: - jp DisableAutoTextBoxDrawing - -Route12GateUpstairsTextPointers: - dw Route12GateUpstairsText1 - dw Route12GateUpstairsText2 - dw Route12GateUpstairsText3 - -Route12GateUpstairsText1: - TX_ASM - CheckEvent EVENT_GOT_TM39, 1 - jr c, .asm_0ad3c - ld hl, TM39PreReceiveText - call PrintText - lb bc, TM_39, 1 - call GiveItem - jr nc, .BagFull - ld hl, ReceivedTM39Text - call PrintText - SetEvent EVENT_GOT_TM39 - jr .asm_4ba56 -.BagFull - ld hl, TM39NoRoomText - call PrintText - jr .asm_4ba56 -.asm_0ad3c - ld hl, TM39ExplanationText - call PrintText -.asm_4ba56 - jp TextScriptEnd - -TM39PreReceiveText: - TX_FAR _TM39PreReceiveText - db "@" - -ReceivedTM39Text: - TX_FAR _ReceivedTM39Text - db $0B, "@" - -TM39ExplanationText: - TX_FAR _TM39ExplanationText - db "@" - -TM39NoRoomText: - TX_FAR _TM39NoRoomText - db "@" - -Route12GateUpstairsText2: - TX_ASM - ld hl, Route12GateUpstairsText_495b8 - jp GateUpstairsScript_PrintIfFacingUp - -Route12GateUpstairsText_495b8: - TX_FAR _Route12GateUpstairsText_495b8 - db "@" - -Route12GateUpstairsText3: - TX_ASM - ld hl, Route12GateUpstairsText_495c4 - jp GateUpstairsScript_PrintIfFacingUp - -Route12GateUpstairsText_495c4: - TX_FAR _Route12GateUpstairsText_495c4 - db "@" - -GateUpstairsScript_PrintIfFacingUp: - ld a, [wSpritePlayerStateData1FacingDirection] - cp SPRITE_FACING_UP - jr z, .up - ld a, $1 - jr .done -.up - call PrintText - xor a -.done - ld [wDoNotWaitForButtonPressAfterDisplayingText], a - jp TextScriptEnd |