Fixes issue with gym randomizer when wiping out in a gym

This commit is contained in:
infinitefusion
2023-11-14 20:29:02 -05:00
parent 3943ce1684
commit 1acc5ef4f7
4 changed files with 6 additions and 4 deletions

View File

@@ -82,6 +82,7 @@ end
# Blacking out animation
#===============================================================================
def pbStartOver(gameover=false)
$game_variables[VAR_CURRENT_GYM_TYPE]=-1
if pbInBugContest?
pbBugContestStartOver
return