Archipelago/worlds/pokemon_rb
Remy Jette 26ee9fe05c
Pokemon RB: Fix exceptions raised by /bank (#2836)
* If the user tried to run `/bank` with no arguments to see the current
  value while disconnected, previously it threw an exception `KeyError:
  'EnergyLinkNone'`. Now it informs the user that they must be connected
  and in-game, like `/bank deposit` and `/bank withdraw` do.

  I'm also open to adding another `if` branch to make `/bank` only check
  for `ctx.server` instead of combining it with the other bank commands,
  to allow connecting to check the bank before the game save is loaded.
  If that's preferred let me know.

* If the user tried to run `/bank` or `/bank deposit` when the EnergyLink
  hadn't been used yet, they would get a `TypeError` exception. Trying
  `/bank withdraw` would give no output and would crash the lua
  connector script. Now it treats a `None` EnergyLink as `0` and works
  properly.
2024-03-05 09:36:18 +01:00
..
docs Pokémon R/B: Migrate support into Bizhawk Client (#2466) 2023-11-25 11:57:02 +01:00
LICENSE Pokémon Red and Blue: Version 4 update (#1963) 2023-07-24 00:46:54 +02:00
__init__.py Docs: Make all guide titles say Guide, for my sanity (and the webhost) (#2304) 2024-02-20 10:22:32 -06:00
basepatch_blue.bsdiff4 Pokémon R/B: Fix Silph Co 6F Hostage (#2524) 2023-12-10 19:10:09 +01:00
basepatch_red.bsdiff4 Pokémon R/B: Fix Silph Co 6F Hostage (#2524) 2023-12-10 19:10:09 +01:00
client.py Pokemon RB: Fix exceptions raised by /bank (#2836) 2024-03-05 09:36:18 +01:00
encounters.py Pokémon Red and Blue: Version 4 update (#1963) 2023-07-24 00:46:54 +02:00
items.py Pokémon R/B: Fix Thunder Stone item groups #2740 2024-01-30 09:06:10 +01:00
level_scaling.py Pokémon Red and Blue: Version 4 update (#1963) 2023-07-24 00:46:54 +02:00
locations.py Pokémon R/B: Fix trainer regions (#2474) 2023-11-23 19:17:09 +01:00
logic.py Pokémon R/B: Fix broken options (#2162) 2023-09-10 23:38:56 +02:00
options.py Core: Introduce new Option class NamedRange (#2330) 2023-11-24 17:10:52 -06:00
poke_data.py Pokémon Red and Blue: Version 4 update (#1963) 2023-07-24 00:46:54 +02:00
pokemon.py Pokémon Red and Blue: Version 4 update (#1963) 2023-07-24 00:46:54 +02:00
regions.py Pokémon RB: Fix connection names + missing connection (#2553) 2023-12-02 18:40:38 +01:00
rock_tunnel.py Pokémon R/B: Version 3 (#1520) 2023-03-13 23:40:55 +01:00
rom.py Pokémon R/B: Migrate support into Bizhawk Client (#2466) 2023-11-25 11:57:02 +01:00
rom_addresses.py Pokémon R/B: Fix Silph Co 6F Hostage (#2524) 2023-12-10 19:10:09 +01:00
rules.py Pokemon R/B: Reenable Rock tunnel location access rules (#2396) 2023-10-28 17:32:03 -05:00
text.py Pokémon Red and Blue: Version 4 update (#1963) 2023-07-24 00:46:54 +02:00