diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-01-01 15:06:23 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-01-01 23:33:10 -0500 |
commit | c7796024590fec48ac79756793c1a6e3b54daf8f (patch) | |
tree | 0d61caa7ebe429995a61e800d1d78c3a82aec886 /scripts/route11gateupstairs.asm | |
parent | 90430e6dee9e207dc0b618d07566f83617343f60 (diff) |
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/route11gateupstairs.asm')
-rwxr-xr-x | scripts/route11gateupstairs.asm | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/scripts/route11gateupstairs.asm b/scripts/route11gateupstairs.asm deleted file mode 100755 index 6c8d6e99..00000000 --- a/scripts/route11gateupstairs.asm +++ /dev/null @@ -1,76 +0,0 @@ -Route11GateUpstairsScript: - jp DisableAutoTextBoxDrawing - -Route11GateUpstairsTextPointers: - dw Route11GateUpstairsText1 - dw Route11GateUpstairsText2 - dw Route11GateUpstairsText3 - dw Route11GateUpstairsText4 - -Route11GateUpstairsText1: - TX_ASM - xor a - ld [wWhichTrade], a - predef DoInGameTradeDialogue -Route11GateUpstairsScriptEnd: - jp TextScriptEnd - -Route11GateUpstairsText2: - TX_ASM - CheckEvent EVENT_GOT_ITEMFINDER, 1 - jr c, .asm_4949b - ld a, 30 ; pokemon needed - ld [hOaksAideRequirement], a - ld a, ITEMFINDER ; oak's aide reward - ld [hOaksAideRewardItem], a - ld [wd11e], a - call GetItemName - ld h, d - ld l, e - ld de, wOaksAideRewardItemName - ld bc, ITEM_NAME_LENGTH - call CopyData - predef OaksAideScript - ld a, [hOaksAideResult] - dec a - jr nz, .asm_494a1 - SetEvent EVENT_GOT_ITEMFINDER -.asm_4949b - ld hl, Route11GateUpstairsText_494a3 - call PrintText -.asm_494a1 - jr Route11GateUpstairsScriptEnd - -Route11GateUpstairsText_494a3: - TX_FAR _Route11GateUpstairsText_494a3 - db "@" - -Route11GateUpstairsText3: - TX_ASM - ld a, [wSpriteStateData1 + 9] - cp SPRITE_FACING_UP - jp nz, GateUpstairsScript_PrintIfFacingUp - CheckEvent EVENT_BEAT_ROUTE12_SNORLAX - ld hl, BinocularsSnorlaxText - jr z, .print - ld hl, BinocularsNoSnorlaxText -.print - call PrintText - jp TextScriptEnd - -BinocularsSnorlaxText: - TX_FAR _BinocularsSnorlaxText - db "@" - -BinocularsNoSnorlaxText: - TX_FAR _BinocularsNoSnorlaxText - db "@" - -Route11GateUpstairsText4: - TX_ASM - ld hl, Route11GateUpstairsText_494d5 - jp GateUpstairsScript_PrintIfFacingUp - -Route11GateUpstairsText_494d5: - TX_FAR _Route11GateUpstairsText_494d5 - db "@" |