error handling in case the randomizer picks a pokemon that does not exist

This commit is contained in:
infinitefusion
2023-11-14 18:46:32 -05:00
parent d729a630e5
commit 2635217407
5 changed files with 11 additions and 5 deletions

View File

@@ -700,8 +700,11 @@ def regirock_steel_move_boulder()
pbSEPlay("Entering Door")
pbSetSelfSwitch(switch_event.id, "A", true) if switch_event
end
end
def displayRandomizerErrorMessage()
Kernel.pbMessage(_INTL("The randomizer has encountered an error. You should try to re-randomize your game as soon as possible."))
Kernel.pbMessage(_INTL("You can do this on the top floor of Pokémon Centers."))
end