2019-01-01 20:06:23 +00:00
|
|
|
PokemonFanClub_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClub_CheckBikeInBag:
|
2014-05-18 18:19:10 +00:00
|
|
|
; check if any bike paraphernalia in bag
|
2015-07-21 01:32:02 +00:00
|
|
|
CheckEvent EVENT_GOT_BIKE_VOUCHER
|
2014-05-18 18:19:10 +00:00
|
|
|
ret nz
|
|
|
|
ld b, BICYCLE
|
|
|
|
call IsItemInBag
|
|
|
|
ret nz
|
|
|
|
ld b, BIKE_VOUCHER
|
|
|
|
jp IsItemInBag
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
PokemonFanClub_TextPointers:
|
2023-07-14 01:27:56 +00:00
|
|
|
def_text_pointers
|
|
|
|
dw_const PokemonFanClubPikachuFanText, TEXT_POKEMONFANCLUB_PIKACHU_FAN
|
|
|
|
dw_const PokemonFanClubSeelFanText, TEXT_POKEMONFANCLUB_SEEL_FAN
|
|
|
|
dw_const PokemonFanClubPikachuText, TEXT_POKEMONFANCLUB_PIKACHU
|
|
|
|
dw_const PokemonFanClubSeelText, TEXT_POKEMONFANCLUB_SEEL
|
|
|
|
dw_const PokemonFanClubChairmanText, TEXT_POKEMONFANCLUB_CHAIRMAN
|
|
|
|
dw_const PokemonFanClubReceptionistText, TEXT_POKEMONFANCLUB_RECEPTIONIST
|
|
|
|
dw_const PokemonFanClubSign1Text, TEXT_POKEMONFANCLUB_SIGN_1
|
|
|
|
dw_const PokemonFanClubSign2Text, TEXT_POKEMONFANCLUB_SIGN_2
|
|
|
|
|
|
|
|
PokemonFanClubPikachuFanText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_PIKACHU_FAN_BOAST
|
2014-05-18 18:19:10 +00:00
|
|
|
jr nz, .mineisbetter
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .NormalText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_SEEL_FAN_BOAST
|
2014-05-18 18:19:10 +00:00
|
|
|
jr .done
|
|
|
|
.mineisbetter
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .BetterText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
ResetEvent EVENT_PIKACHU_FAN_BOAST
|
2014-05-18 18:19:10 +00:00
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.NormalText:
|
|
|
|
text_far _PokemonFanClubPikachuFanNormalText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.BetterText:
|
|
|
|
text_far _PokemonFanClubPikachuFanBetterText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubSeelFanText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_SEEL_FAN_BOAST
|
2014-05-18 18:19:10 +00:00
|
|
|
jr nz, .mineisbetter
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .NormalText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_PIKACHU_FAN_BOAST
|
2014-05-18 18:19:10 +00:00
|
|
|
jr .done
|
|
|
|
.mineisbetter
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .BetterText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
ResetEvent EVENT_SEEL_FAN_BOAST
|
2014-05-18 18:19:10 +00:00
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.NormalText:
|
|
|
|
text_far _PokemonFanClubSeelFanNormalText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.BetterText:
|
|
|
|
text_far _PokemonFanClubSeelFanBetterText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubPikachuText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .Text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
ld a, PIKACHU
|
|
|
|
call PlayCry
|
|
|
|
call WaitForSoundToFinish
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.Text
|
|
|
|
text_far _PokemonFanClubPikachuText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubSeelText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .Text
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
ld a, SEEL
|
|
|
|
call PlayCry
|
|
|
|
call WaitForSoundToFinish
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.Text:
|
|
|
|
text_far _PokemonFanClubSeelText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubChairmanText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2023-07-14 01:27:56 +00:00
|
|
|
call PokemonFanClub_CheckBikeInBag
|
2014-05-18 18:19:10 +00:00
|
|
|
jr nz, .nothingleft
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .IntroText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
call YesNoChoice
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wCurrentMenuItem]
|
2014-05-18 18:19:10 +00:00
|
|
|
and a
|
|
|
|
jr nz, .nothanks
|
|
|
|
|
|
|
|
; tell the story
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .StoryText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-08-05 21:20:29 +00:00
|
|
|
lb bc, BIKE_VOUCHER, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nc, .bag_full
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .BikeVoucherText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
2015-07-21 01:32:02 +00:00
|
|
|
SetEvent EVENT_GOT_BIKE_VOUCHER
|
2014-05-18 18:19:10 +00:00
|
|
|
jr .done
|
2020-07-16 15:19:05 +00:00
|
|
|
.bag_full
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .BagFullText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.nothanks
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .NoStoryText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.nothingleft
|
2023-07-14 01:27:56 +00:00
|
|
|
ld hl, .FinalText
|
2014-05-18 18:19:10 +00:00
|
|
|
call PrintText
|
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.IntroText:
|
|
|
|
text_far _PokemonFanClubChairmanIntroText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.StoryText:
|
|
|
|
text_far _PokemonFanClubChairmanStoryText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.BikeVoucherText:
|
|
|
|
text_far _PokemonFanClubReceivedBikeVoucherText
|
2020-07-04 21:09:35 +00:00
|
|
|
sound_get_key_item
|
2023-07-14 01:27:56 +00:00
|
|
|
text_far _PokemonFanClubExplainBikeVoucherText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.NoStoryText:
|
|
|
|
text_far _PokemonFanClubNoStoryText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.FinalText:
|
|
|
|
text_far _PokemonFanClubChairFinalText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
.BagFullText:
|
|
|
|
text_far _PokemonFanClubBagFullText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubReceptionistText:
|
|
|
|
text_far _PokemonFanClubReceptionistText
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubSign1Text:
|
|
|
|
text_far _PokemonFanClubSign1Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2023-07-14 01:27:56 +00:00
|
|
|
PokemonFanClubSign2Text:
|
|
|
|
text_far _PokemonFanClubSign2Text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|