2019-01-01 20:06:23 +00:00
|
|
|
PokemonFanClub_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
|
|
|
FanClubBikeInBag:
|
|
|
|
; 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:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw FanClubText1
|
|
|
|
dw FanClubText2
|
|
|
|
dw FanClubText3
|
|
|
|
dw FanClubText4
|
|
|
|
dw FanClubText5
|
|
|
|
dw FanClubText6
|
|
|
|
dw FanClubText7
|
|
|
|
dw FanClubText8
|
|
|
|
|
|
|
|
FanClubText1:
|
|
|
|
; pikachu fan
|
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
|
|
|
|
ld hl, .normaltext
|
|
|
|
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
|
|
|
|
ld hl, .bettertext
|
|
|
|
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
|
|
|
|
|
|
|
|
.normaltext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far PikachuFanText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.bettertext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far PikachuFanBetterText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
FanClubText2:
|
|
|
|
; seel fan
|
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
|
|
|
|
ld hl, .normaltext
|
|
|
|
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
|
|
|
|
ld hl, .bettertext
|
|
|
|
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
|
|
|
|
|
|
|
|
.normaltext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far SeelFanText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.bettertext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far SeelFanBetterText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
FanClubText3:
|
|
|
|
; pikachu
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, .text
|
|
|
|
call PrintText
|
|
|
|
ld a, PIKACHU
|
|
|
|
call PlayCry
|
|
|
|
call WaitForSoundToFinish
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
.text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubPikachuText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
FanClubText4:
|
|
|
|
; seel
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, .text
|
|
|
|
call PrintText
|
|
|
|
ld a, SEEL
|
|
|
|
call PlayCry
|
|
|
|
call WaitForSoundToFinish
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
.text
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubSeelText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
FanClubText5:
|
|
|
|
; chair
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2014-05-18 18:19:10 +00:00
|
|
|
call FanClubBikeInBag
|
|
|
|
jr nz, .nothingleft
|
|
|
|
|
|
|
|
ld hl, .meetchairtext
|
|
|
|
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
|
|
|
|
ld hl, .storytext
|
|
|
|
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
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, .receivedvouchertext
|
|
|
|
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
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, .bagfulltext
|
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.nothanks
|
|
|
|
ld hl, .nostorytext
|
|
|
|
call PrintText
|
|
|
|
jr .done
|
|
|
|
.nothingleft
|
|
|
|
ld hl, .finaltext
|
|
|
|
call PrintText
|
|
|
|
.done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
|
|
|
.meetchairtext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubMeetChairText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.storytext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubChairStoryText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.receivedvouchertext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far ReceivedBikeVoucherText
|
|
|
|
sound_get_key_item
|
|
|
|
text_far ExplainBikeVoucherText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.nostorytext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubNoStoryText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.finaltext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubChairFinalText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
.bagfulltext
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far FanClubBagFullText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FanClubText6:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _FanClubText6
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FanClubText7:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _FanClubText7
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
FanClubText8:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _FanClubText8
|
|
|
|
text_end
|