summaryrefslogtreecommitdiff
path: root/scripts/ssanne7.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 15:06:23 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-01 23:33:10 -0500
commitc7796024590fec48ac79756793c1a6e3b54daf8f (patch)
tree0d61caa7ebe429995a61e800d1d78c3a82aec886 /scripts/ssanne7.asm
parent90430e6dee9e207dc0b618d07566f83617343f60 (diff)
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/ssanne7.asm')
-rwxr-xr-xscripts/ssanne7.asm93
1 files changed, 0 insertions, 93 deletions
diff --git a/scripts/ssanne7.asm b/scripts/ssanne7.asm
deleted file mode 100755
index 0df842c2..00000000
--- a/scripts/ssanne7.asm
+++ /dev/null
@@ -1,93 +0,0 @@
-SSAnne7Script:
- call SSAnne7Script_6189b
- jp EnableAutoTextBoxDrawing
-
-SSAnne7Script_6189b:
- CheckEvent EVENT_RUBBED_CAPTAINS_BACK
- ret nz
- ld hl, wd72d
- set 5, [hl]
- ret
-
-SSAnne7TextPointers:
- dw SSAnne7Text1
- dw SSAnne7Text2
- dw SSAnne7Text3
-
-SSAnne7Text1:
- TX_ASM
- CheckEvent EVENT_GOT_HM01
- jr nz, .asm_797c4
- ld hl, SSAnne7RubText
- call PrintText
- ld hl, ReceivingHM01Text
- call PrintText
- lb bc, HM_01, 1
- call GiveItem
- jr nc, .BagFull
- ld hl, ReceivedHM01Text
- call PrintText
- SetEvent EVENT_GOT_HM01
- jr .asm_0faf5
-.BagFull
- ld hl, HM01NoRoomText
- call PrintText
- ld hl, wd72d
- set 5, [hl]
- jr .asm_0faf5
-.asm_797c4
- ld hl, SSAnne7Text_61932
- call PrintText
-.asm_0faf5
- jp TextScriptEnd
-
-SSAnne7RubText:
- TX_FAR _SSAnne7RubText
- TX_ASM
- ld a, [wAudioROMBank]
- cp BANK(Audio3_UpdateMusic)
- ld [wAudioSavedROMBank], a
- jr nz, .asm_61908
- ld a, $ff
- ld [wNewSoundID], a
- call PlaySound
- ld a, Bank(Music_PkmnHealed)
- ld [wAudioROMBank], a
-.asm_61908
- ld a, MUSIC_PKMN_HEALED
- ld [wNewSoundID], a
- call PlaySound
-.asm_61910
- ld a, [wChannelSoundIDs]
- cp MUSIC_PKMN_HEALED
- jr z, .asm_61910
- call PlayDefaultMusic
- SetEvent EVENT_RUBBED_CAPTAINS_BACK
- ld hl, wd72d
- res 5, [hl]
- jp TextScriptEnd
-
-ReceivingHM01Text:
- TX_FAR _ReceivingHM01Text
- db "@"
-
-ReceivedHM01Text:
- TX_FAR _ReceivedHM01Text
- TX_SFX_KEY_ITEM
- db "@"
-
-SSAnne7Text_61932:
- TX_FAR _SSAnne7Text_61932
- db "@"
-
-HM01NoRoomText:
- TX_FAR _HM01NoRoomText
- db "@"
-
-SSAnne7Text2:
- TX_FAR _SSAnne7Text2
- db "@"
-
-SSAnne7Text3:
- TX_FAR _SSAnne7Text3
- db "@"