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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -97,6 +97,10 @@ class Game_Character
end end
end end
def set_opacity(opacity)
@opacity = opacity
end
def move_speed=(val) def move_speed=(val)
return if val == @move_speed return if val == @move_speed
@move_speed = val @move_speed = val

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.