Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Using Covet or Thief on a Harvested Berry Crashes the game #5073

Open
Snailman11 opened this issue Jan 3, 2025 · 0 comments
Open

[Bug] Using Covet or Thief on a Harvested Berry Crashes the game #5073

Snailman11 opened this issue Jan 3, 2025 · 0 comments
Labels
Ability Affects an ability Item Affects an item Move Affects a move P1 Bug Major. Game crashing move/ability/interaction

Comments

@Snailman11
Copy link
Collaborator

Snailman11 commented Jan 3, 2025

Describe the bug

Using Covet or Thief on a Harvested Berry Crashes the Game

-Pluck, Bug Bite, and Magician do not crash the game.
-The game does not crash if the Berry chosen had not been harvested.
-If Thief/Covet do not choose a Berry that has been harvested when a Pokemon is holding multiple items, the game does not crash.
-If Thief/Covet would target a Berry of the same Type, that existed after the first one was consumed and pushed to memory, the game does not crash. The game crashes if Thief/Covet is used again after the harvested berry is created.

Link to Discord's Bug Report (Calyrex crash when using Covet on harvested berry)
https://discord.com/channels/1125469663833370665/1305262017925353472

Reproduction

Use Covet or Thief and steal an item against a Pokemon that has created a consumed Berry through Harvest.

Start run with any Pokémon, Slugma/Desolate Land, Fennekin/Magician, Run from the first wave to set up Perma-Desolate Land on the second wave

BATTLE_TYPE_OVERRIDE: "odd-doubles",
STARTING_MOVESET_OVERRIDE: [Moves.THIEF, Moves.PLUCK, Moves.TACKLE, Moves.METAL_CLAW],

OPP_LEVEL_OVERRIDE: 20,
OPP_ABILITY_OVERRIDE: Abilities.HARVEST,
OPP_MOVESET_OVERRIDE: [Moves.SPLASH],
OPP_HELD_ITEM_OVERRIDE: [name: "BERRY", type: BerryType.ENIGMA, count: 1],

Expected behavior

Game should not crash, Thief/Covet User should gain the Berry.

Screenshots / Videos

HarvestCovetConsole

Crashes if the Berry was Harvested

CovetCrashesNewBerry.mp4

No Crash if the berry was not Harvested

CovetNoCrashifregBerry.mp4

Magician Stealing a Harvested Berry does not Crash

NoCrashStealingItemMagician.Harvest.mp4

Session export file

No response

User data export file

No response

Additional context

No response

@Snailman11 Snailman11 added Move Affects a move Ability Affects an ability P1 Bug Major. Game crashing move/ability/interaction labels Jan 3, 2025
@Snailman11 Snailman11 moved this from To triage to Ready in PokéRogue Bug Management Jan 3, 2025
@Snailman11 Snailman11 added the Item Affects an item label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ability Affects an ability Item Affects an item Move Affects a move P1 Bug Major. Game crashing move/ability/interaction
Projects
Status: Ready
Development

No branches or pull requests

1 participant