diff options
| author | dannye <33dannye@gmail.com> | 2023-11-20 00:33:27 -0600 |
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2023-11-20 20:23:27 -0600 |
| commit | 298e99d3776580585c3f434e5d93137ae431bdd3 (patch) | |
| tree | a808c4ffd0fd0f9bd28972bae5236e0d3345c8e5 /scripts/CopycatsHouse2F.asm | |
| parent | Add sound bits documentation for wOptions (#110) (diff) | |
| parent | Name 2 unnamed labels I missed in SeafoamIslandsB4F and PokemonMansion3F (#437) (diff) | |
| download | pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.gz pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.tar.xz pokeyellow-298e99d3776580585c3f434e5d93137ae431bdd3.zip | |
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/CopycatsHouse2F.asm')
| -rw-r--r-- | scripts/CopycatsHouse2F.asm | 79 |
1 files changed, 39 insertions, 40 deletions
diff --git a/scripts/CopycatsHouse2F.asm b/scripts/CopycatsHouse2F.asm index ef0742ab..85da9a63 100644 --- a/scripts/CopycatsHouse2F.asm +++ b/scripts/CopycatsHouse2F.asm @@ -2,31 +2,32 @@ CopycatsHouse2F_Script: jp EnableAutoTextBoxDrawing CopycatsHouse2F_TextPointers: - dw CopycatsHouse2FText1 - dw CopycatsHouse2FText2 - dw CopycatsHouse2FText3 - dw CopycatsHouse2FText4 - dw CopycatsHouse2FText5 - dw CopycatsHouse2FText6 - dw CopycatsHouse2FText7 + def_text_pointers + dw_const CopycatsHouse2FCopycatText, TEXT_COPYCATSHOUSE2F_COPYCAT + dw_const CopycatsHouse2FDoduoText, TEXT_COPYCATSHOUSE2F_DODUO + dw_const CopycatsHouse2FRareDollText, TEXT_COPYCATSHOUSE2F_MONSTER + dw_const CopycatsHouse2FRareDollText, TEXT_COPYCATSHOUSE2F_BIRD + dw_const CopycatsHouse2FRareDollText, TEXT_COPYCATSHOUSE2F_FAIRY + dw_const CopycatsHouse2FSNESText, TEXT_COPYCATSHOUSE2F_SNES + dw_const CopycatsHouse2FPCText, TEXT_COPYCATSHOUSE2F_PC -CopycatsHouse2FText1: +CopycatsHouse2FCopycatText: text_asm CheckEvent EVENT_GOT_TM31 jr nz, .got_item ld a, TRUE ld [wDoNotWaitForButtonPressAfterDisplayingText], a - ld hl, CopycatsHouse2FText_5ccd4 + ld hl, .DoYouLikePokemonText call PrintText ld b, POKE_DOLL call IsItemInBag jr z, .done - ld hl, TM31PreReceiveText + ld hl, .TM31PreReceiveText call PrintText lb bc, TM_MIMIC, 1 call GiveItem jr nc, .bag_full - ld hl, ReceivedTM31Text + ld hl, .ReceivedTM31Text call PrintText ld a, POKE_DOLL ldh [hItemToRemoveID], a @@ -34,69 +35,67 @@ CopycatsHouse2FText1: SetEvent EVENT_GOT_TM31 jr .done .bag_full - ld hl, TM31NoRoomText + ld hl, .TM31NoRoomText call PrintText jr .done .got_item - ld hl, TM31ExplanationText2 + ld hl, .TM31Explanation2Text call PrintText .done jp TextScriptEnd -CopycatsHouse2FText_5ccd4: - text_far _CopycatsHouse2FText_5ccd4 +.DoYouLikePokemonText: + text_far _CopycatsHouse2FCopycatDoYouLikePokemonText text_end -TM31PreReceiveText: - text_far _TM31PreReceiveText +.TM31PreReceiveText: + text_far _CopycatsHouse2FCopycatTM31PreReceiveText text_end -ReceivedTM31Text: - text_far _ReceivedTM31Text +.ReceivedTM31Text: + text_far _CopycatsHouse2FCopycatReceivedTM31Text sound_get_item_1 -TM31ExplanationText1: - text_far _TM31ExplanationText1 +.TM31Explanation1Text: + text_far _CopycatsHouse2FCopycatTM31Explanation1Text text_waitbutton text_end -TM31ExplanationText2: - text_far _TM31ExplanationText2 +.TM31Explanation2Text: + text_far _CopycatsHouse2FCopycatTM31Explanation2Text text_end -TM31NoRoomText: - text_far _TM31NoRoomText +.TM31NoRoomText: + text_far _CopycatsHouse2FCopycatTM31NoRoomText text_waitbutton text_end -CopycatsHouse2FText2: - text_far _CopycatsHouse2FText2 +CopycatsHouse2FDoduoText: + text_far _CopycatsHouse2FDoduoText text_end -CopycatsHouse2FText5: -CopycatsHouse2FText4: -CopycatsHouse2FText3: - text_far _CopycatsHouse2FText3 +CopycatsHouse2FRareDollText: + text_far _CopycatsHouse2FRareDollText text_end -CopycatsHouse2FText6: - text_far _CopycatsHouse2FText6 +CopycatsHouse2FSNESText: + text_far _CopycatsHouse2FSNESText text_end -CopycatsHouse2FText7: +CopycatsHouse2FPCText: text_asm ld a, [wSpritePlayerStateData1FacingDirection] cp SPRITE_FACING_UP - ld hl, CopycatsHouse2FText_5cd1c + ld hl, .CantSeeText jr nz, .notUp - ld hl, CopycatsHouse2FText_5cd17 + ld hl, .MySecretsText .notUp call PrintText jp TextScriptEnd -CopycatsHouse2FText_5cd17: - text_far _CopycatsHouse2FText_5cd17 +.MySecretsText: + text_far _CopycatsHouse2FPCMySecretsText text_end -CopycatsHouse2FText_5cd1c: - text_far _CopycatsHouse2FText_5cd1c +.CantSeeText: + text_far _CopycatsHouse2FPCCantSeeText text_end |
