diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-26 21:55:57 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-26 21:55:57 -0500 |
commit | dae16acd6f4e2e2c177e3776be6ed549af070c4f (patch) | |
tree | 2577502f3ccc185e772ef121ba52fa3fddfd95c2 /events/bug_contest/contest.asm | |
parent | 2a565f747ccb8099f4057548a6d598d538e6b991 (diff) |
event/ → events/, and move some appropriate engine/ files there
Diffstat (limited to 'events/bug_contest/contest.asm')
-rw-r--r-- | events/bug_contest/contest.asm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/events/bug_contest/contest.asm b/events/bug_contest/contest.asm new file mode 100644 index 000000000..ba561abf2 --- /dev/null +++ b/events/bug_contest/contest.asm @@ -0,0 +1,43 @@ +Special_GiveParkBalls: ; 135db + xor a + ld [wContestMon], a + ld a, 20 + ld [wParkBallsRemaining], a + farcall StartBugContestTimer + ret + +BugCatchingContestBattleScript:: ; 0x135eb + writecode VAR_BATTLETYPE, BATTLETYPE_CONTEST + randomwildmon + startbattle + reloadmapafterbattle + copybytetovar wParkBallsRemaining + iffalse BugCatchingContestOutOfBallsScript + end + +BugCatchingContestOverScript:: ; 0x135f8 + playsound SFX_ELEVATOR_END + opentext + writetext BugCatchingContestText_BeeepTimesUp + waitbutton + jump BugCatchingContestReturnToGateScript + +BugCatchingContestOutOfBallsScript: ; 0x13603 + playsound SFX_ELEVATOR_END + opentext + writetext BugCatchingContestText_ContestIsOver + waitbutton + +BugCatchingContestReturnToGateScript: ; 0x1360b + closetext + jumpstd bugcontestresultswarp + +BugCatchingContestText_BeeepTimesUp: ; 0x1360f + ; ANNOUNCER: BEEEP! Time's up! + text_jump UnknownText_0x1bd2ca + db "@" + +BugCatchingContestText_ContestIsOver: ; 0x13614 + ; ANNOUNCER: The Contest is over! + text_jump UnknownText_0x1bd2e7 + db "@" |