summaryrefslogtreecommitdiff
path: root/scripts/FuchsiaCity.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2019-01-13 22:38:16 -0600
committerGitHub <noreply@github.com>2019-01-13 22:38:16 -0600
commit725b86ebbec23bd1f53fd60bf0201c904fee951d (patch)
treea37f4d33c5b77635c7ff72b91a73fcd90c4af915 /scripts/FuchsiaCity.asm
parent108245cb21abb3abac051b7db84ed6c694192a61 (diff)
parentc7796024590fec48ac79756793c1a6e3b54daf8f (diff)
Merge pull request #196 from Rangi42/polishedmaps
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/FuchsiaCity.asm')
-rwxr-xr-xscripts/FuchsiaCity.asm169
1 files changed, 169 insertions, 0 deletions
diff --git a/scripts/FuchsiaCity.asm b/scripts/FuchsiaCity.asm
new file mode 100755
index 00000000..d3f0ce32
--- /dev/null
+++ b/scripts/FuchsiaCity.asm
@@ -0,0 +1,169 @@
+FuchsiaCity_Script:
+ jp EnableAutoTextBoxDrawing
+
+FuchsiaCity_TextPointers:
+ dw FuchsiaCityText1
+ dw FuchsiaCityText2
+ dw FuchsiaCityText3
+ dw FuchsiaCityText4
+ dw FuchsiaCityText5
+ dw FuchsiaCityText6
+ dw FuchsiaCityText7
+ dw FuchsiaCityText8
+ dw FuchsiaCityText9
+ dw FuchsiaCityText10
+ dw FuchsiaCityText11
+ dw FuchsiaCityText12
+ dw FuchsiaCityText13
+ dw MartSignText
+ dw PokeCenterSignText
+ dw FuchsiaCityText16
+ dw FuchsiaCityText17
+ dw FuchsiaCityText18
+ dw FuchsiaCityText19
+ dw FuchsiaCityText20
+ dw FuchsiaCityText21
+ dw FuchsiaCityText22
+ dw FuchsiaCityText23
+ dw FuchsiaCityText24
+
+FuchsiaCityText1:
+ TX_FAR _FuchsiaCityText1
+ db "@"
+
+FuchsiaCityText2:
+ TX_FAR _FuchsiaCityText2
+ db "@"
+
+FuchsiaCityText3:
+ TX_FAR _FuchsiaCityText3
+ db "@"
+
+FuchsiaCityText4:
+ TX_FAR _FuchsiaCityText4
+ db "@"
+
+FuchsiaCityText5:
+FuchsiaCityText6:
+FuchsiaCityText7:
+FuchsiaCityText8:
+FuchsiaCityText9:
+FuchsiaCityText10:
+ TX_FAR _FuchsiaCityText5
+ db "@"
+
+FuchsiaCityText12:
+FuchsiaCityText11:
+ TX_FAR _FuchsiaCityText11
+ db "@"
+
+FuchsiaCityText13:
+ TX_FAR _FuchsiaCityText13
+ db "@"
+
+FuchsiaCityText16:
+ TX_FAR _FuchsiaCityText16
+ db "@"
+
+FuchsiaCityText17:
+ TX_FAR _FuchsiaCityText17
+ db "@"
+
+FuchsiaCityText18:
+ TX_FAR _FuchsiaCityText18
+ db "@"
+
+FuchsiaCityText19:
+ TX_ASM
+ ld hl, FuchsiaCityChanseyText
+ call PrintText
+ ld a, CHANSEY
+ call DisplayPokedex
+ jp TextScriptEnd
+
+FuchsiaCityChanseyText:
+ TX_FAR _FuchsiaCityChanseyText
+ db "@"
+
+FuchsiaCityText20:
+ TX_ASM
+ ld hl, FuchsiaCityVoltorbText
+ call PrintText
+ ld a, VOLTORB
+ call DisplayPokedex
+ jp TextScriptEnd
+
+FuchsiaCityVoltorbText:
+ TX_FAR _FuchsiaCityVoltorbText
+ db "@"
+
+FuchsiaCityText21:
+ TX_ASM
+ ld hl, FuchsiaCityKangaskhanText
+ call PrintText
+ ld a, KANGASKHAN
+ call DisplayPokedex
+ jp TextScriptEnd
+
+FuchsiaCityKangaskhanText:
+ TX_FAR _FuchsiaCityKangaskhanText
+ db "@"
+
+FuchsiaCityText22:
+ TX_ASM
+ ld hl, FuchsiaCitySlowpokeText
+ call PrintText
+ ld a, SLOWPOKE
+ call DisplayPokedex
+ jp TextScriptEnd
+
+FuchsiaCitySlowpokeText:
+ TX_FAR _FuchsiaCitySlowpokeText
+ db "@"
+
+FuchsiaCityText23:
+ TX_ASM
+ ld hl, FuchsiaCityLaprasText
+ call PrintText
+ ld a, LAPRAS
+ call DisplayPokedex
+ jp TextScriptEnd
+
+FuchsiaCityLaprasText:
+ TX_FAR _FuchsiaCityLaprasText
+ db "@"
+
+FuchsiaCityText24:
+ TX_ASM
+ CheckEvent EVENT_GOT_DOME_FOSSIL
+ jr nz, .asm_3b4e8
+ CheckEventReuseA EVENT_GOT_HELIX_FOSSIL
+ jr nz, .asm_667d5
+ ld hl, FuchsiaCityText_19b2a
+ call PrintText
+ jr .asm_4343f
+.asm_3b4e8
+ ld hl, FuchsiaCityOmanyteText
+ call PrintText
+ ld a, OMANYTE
+ jr .asm_81556
+.asm_667d5
+ ld hl, FuchsiaCityKabutoText
+ call PrintText
+ ld a, KABUTO
+.asm_81556
+ call DisplayPokedex
+.asm_4343f
+ jp TextScriptEnd
+
+FuchsiaCityOmanyteText:
+ TX_FAR _FuchsiaCityOmanyteText
+ db "@"
+
+FuchsiaCityKabutoText:
+ TX_FAR _FuchsiaCityKabutoText
+ db "@"
+
+FuchsiaCityText_19b2a:
+ TX_FAR _FuchsiaCityText_19b2a
+ db "@"