2018-06-24 07:09:41 -07:00
|
|
|
GiveParkBalls:
|
2017-12-15 17:10:54 -08:00
|
|
|
xor a
|
|
|
|
ld [wContestMon], a
|
|
|
|
ld a, 20
|
|
|
|
ld [wParkBallsRemaining], a
|
2017-12-24 09:47:30 -08:00
|
|
|
farcall StartBugContestTimer
|
2017-12-15 17:10:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugCatchingContestBattleScript::
|
2019-03-10 12:31:59 -07:00
|
|
|
loadvar VAR_BATTLETYPE, BATTLETYPE_CONTEST
|
2017-12-15 17:10:54 -08:00
|
|
|
randomwildmon
|
|
|
|
startbattle
|
|
|
|
reloadmapafterbattle
|
2019-03-10 12:31:59 -07:00
|
|
|
readmem wParkBallsRemaining
|
2017-12-15 17:10:54 -08:00
|
|
|
iffalse BugCatchingContestOutOfBallsScript
|
|
|
|
end
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugCatchingContestOverScript::
|
2017-12-15 17:10:54 -08:00
|
|
|
playsound SFX_ELEVATOR_END
|
|
|
|
opentext
|
|
|
|
writetext BugCatchingContestText_BeeepTimesUp
|
|
|
|
waitbutton
|
|
|
|
jump BugCatchingContestReturnToGateScript
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugCatchingContestOutOfBallsScript:
|
2017-12-15 17:10:54 -08:00
|
|
|
playsound SFX_ELEVATOR_END
|
|
|
|
opentext
|
|
|
|
writetext BugCatchingContestText_ContestIsOver
|
|
|
|
waitbutton
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugCatchingContestReturnToGateScript:
|
2017-12-15 17:10:54 -08:00
|
|
|
closetext
|
|
|
|
jumpstd bugcontestresultswarp
|
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugCatchingContestText_BeeepTimesUp:
|
2017-12-15 17:10:54 -08:00
|
|
|
; ANNOUNCER: BEEEP! Time's up!
|
2018-10-28 09:16:55 -07:00
|
|
|
text_far UnknownText_0x1bd2ca
|
2018-11-17 10:33:03 -08:00
|
|
|
text_end
|
2017-12-15 17:10:54 -08:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
BugCatchingContestText_ContestIsOver:
|
2017-12-15 17:10:54 -08:00
|
|
|
; ANNOUNCER: The Contest is over!
|
2018-10-28 09:16:55 -07:00
|
|
|
text_far UnknownText_0x1bd2e7
|
2018-11-17 10:33:03 -08:00
|
|
|
text_end
|