mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 16:45:24 +13:00
Bug Catching Contest gives a funny Gligar
If you win the Bug Catching Contest, the man will give you an Earthquake Gligar. The code that gives it a special move is a bit fucked up because I tried to add a Farfetch'd function, but I can't be bothered to finish the functionality because I'm stupid (it is actually quite easy I'm just lazy)
This commit is contained in:
parent
d765610c04
commit
1bc5644edc
7 changed files with 172 additions and 18 deletions
|
|
@ -355,7 +355,7 @@ BugContestResultsWarpScript:
|
|||
BugContestResultsScript:
|
||||
clearflag ENGINE_BUG_CONTEST_TIMER
|
||||
clearevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_GLIGAR
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_BERRY
|
||||
|
|
@ -425,18 +425,21 @@ BugContestResults_CleanUp:
|
|||
|
||||
BugContestResults_FirstPlace:
|
||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||
farwritetext ContestResults_PlayerWonAPrizeText
|
||||
waitbutton
|
||||
readvar VAR_PARTYCOUNT
|
||||
ifequal PARTY_LENGTH, .BugContestResults_NoRoomForGligar
|
||||
|
||||
givepoke GLIGAR, 5
|
||||
special DebugGiveMonSpecialMove ; give it the Stadium 2 moveset
|
||||
|
||||
sjump BugContestResults_ReturnAfterWinnersPrize
|
||||
|
||||
BugContestResults_SecondPlace:
|
||||
getitemname STRING_BUFFER_4, BLK_AUGURITE
|
||||
farwritetext ContestResults_PlayerWonAPrizeText
|
||||
waitbutton
|
||||
verbosegiveitem BLK_AUGURITE
|
||||
iffalse BugContestResults_NoRoomForSunStone
|
||||
sjump BugContestResults_ReturnAfterWinnersPrize
|
||||
|
||||
BugContestResults_SecondPlace:
|
||||
getitemname STRING_BUFFER_4, EVERSTONE
|
||||
farwritetext ContestResults_PlayerWonAPrizeText
|
||||
waitbutton
|
||||
verbosegiveitem EVERSTONE
|
||||
iffalse BugContestResults_NoRoomForEverstone
|
||||
sjump BugContestResults_ReturnAfterWinnersPrize
|
||||
|
||||
|
|
@ -448,10 +451,10 @@ BugContestResults_ThirdPlace:
|
|||
iffalse BugContestResults_NoRoomForGoldBerry
|
||||
sjump BugContestResults_ReturnAfterWinnersPrize
|
||||
|
||||
BugContestResults_NoRoomForSunStone:
|
||||
BugContestResults_NoRoomForGligar:
|
||||
farwritetext BugContestPrizeNoRoomText
|
||||
promptbutton
|
||||
setevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE
|
||||
setevent EVENT_CONTEST_OFFICER_HAS_GLIGAR
|
||||
sjump BugContestResults_ReturnAfterWinnersPrize
|
||||
|
||||
BugContestResults_NoRoomForEverstone:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue