Fixes bug when player loses to mew

This commit is contained in:
infinitefusion
2024-03-28 23:42:49 -04:00
parent fed0e2be83
commit 9a7ffd13fc
15 changed files with 7 additions and 0 deletions

View File

@@ -84,6 +84,9 @@ end
def pbStartOver(gameover=false)
$game_variables[VAR_CURRENT_GYM_TYPE]=-1
$game_switches[SWITCH_LOCK_PLAYER_MOVEMENT]=false
clear_all_images()
$game_player.set_opacity(255)
$game_system.menu_disabled=false
if pbInBugContest?
pbBugContestStartOver
return