mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 16:45:24 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
41
engine/events/bug_contest/contest.asm
Normal file
41
engine/events/bug_contest/contest.asm
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
GiveParkBalls:
|
||||
xor a
|
||||
ld [wContestMon], a
|
||||
ld a, BUG_CONTEST_BALLS
|
||||
ld [wParkBallsRemaining], a
|
||||
farcall StartBugContestTimer
|
||||
ret
|
||||
|
||||
BugCatchingContestBattleScript::
|
||||
loadvar VAR_BATTLETYPE, BATTLETYPE_CONTEST
|
||||
randomwildmon
|
||||
startbattle
|
||||
reloadmapafterbattle
|
||||
readmem wParkBallsRemaining
|
||||
iffalse BugCatchingContestOutOfBallsScript
|
||||
end
|
||||
|
||||
BugCatchingContestOverScript::
|
||||
playsound SFX_ELEVATOR_END
|
||||
opentext
|
||||
writetext BugCatchingContestTimeUpText
|
||||
waitbutton
|
||||
sjump BugCatchingContestReturnToGateScript
|
||||
|
||||
BugCatchingContestOutOfBallsScript:
|
||||
playsound SFX_ELEVATOR_END
|
||||
opentext
|
||||
writetext BugCatchingContestIsOverText
|
||||
waitbutton
|
||||
|
||||
BugCatchingContestReturnToGateScript:
|
||||
closetext
|
||||
jumpstd BugContestResultsWarpScript
|
||||
|
||||
BugCatchingContestTimeUpText:
|
||||
text_far _BugCatchingContestTimeUpText
|
||||
text_end
|
||||
|
||||
BugCatchingContestIsOverText:
|
||||
text_far _BugCatchingContestIsOverText
|
||||
text_end
|
||||
Loading…
Add table
Add a link
Reference in a new issue