mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 08:35:23 +13:00
Gym Scaling proof of concept
pokecrystal requires a very different approach to gym scaling. This is based on the phone code. Could absolutely be revised in a myriad of ways.
This commit is contained in:
parent
19191608f3
commit
442b9b9956
3 changed files with 77 additions and 8 deletions
|
|
@ -18,8 +18,26 @@ VioletGymFalknerScript:
|
|||
waitbutton
|
||||
closetext
|
||||
winlosstext FalknerWinLossText, 0
|
||||
|
||||
; Gym Scaling code
|
||||
; This is incredibly inefficient, but so is the phone code that does a similar thing, so...cope. Seethe. Mald. Sue me.
|
||||
; Also, this code has a flaw in that it presumes you went through the default gym order...
|
||||
|
||||
loadtrainer FALKNER, FALKNER2
|
||||
checkflag EVENT_BEAT_BUGSY
|
||||
iftrue .okyoucanloadnow
|
||||
loadtrainer FALKNER, FALKNER3
|
||||
checkflag EVENT_BEAT_WHITNEY
|
||||
iftrue .okyoucanloadnow
|
||||
loadtrainer FALKNER, FALKNER4
|
||||
checkflag EVENT_BEAT_MORTY
|
||||
iftrue .okyoucanloadnow
|
||||
|
||||
; If nothing else has been beaten, then Falkner hasn't been fought before, so we can load this now. It's slow, though.
|
||||
loadtrainer FALKNER, FALKNER1
|
||||
startbattle
|
||||
|
||||
.okyoucanloadnow
|
||||
startbattle ; Now start the battle.
|
||||
reloadmapafterbattle
|
||||
setevent EVENT_BEAT_FALKNER
|
||||
opentext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue