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

Battle claims that opponent gets the benefits of the player's Kee Berry #3393

Closed
pkmnsnfrn opened this issue Oct 9, 2023 · 0 comments · Fixed by #3409
Closed

Battle claims that opponent gets the benefits of the player's Kee Berry #3393

pkmnsnfrn opened this issue Oct 9, 2023 · 0 comments · Fixed by #3409
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet

Comments

@pkmnsnfrn
Copy link
Collaborator

pkmnsnfrn commented Oct 9, 2023

Description

A Kee Berry raises the holder's Defense by one stage when hit by a physical move. This consumes the Kee Berry.

When the player has a Kee Berry attached to their Pokémon, and that Pokémon is damaged by a physical attack, the game claims that user of the physical attack gets the Defense boost from the Kee Berry, and then shows the same message.

(Checking the debug menu reveals that they do not actually get the Defense boost)

Repo

data/scripts/debug.inc
Debug_Script_1::
+    givemon SPECIES_RAPIDASH_GALARIAN,100,ITEM_KEE_BERRY
    end

Debug_Script_2::
+    setwildbattle SPECIES_DONPHAN, 40, ITEM_NONE
+    dowildbattle
	end

Debug_Script_3::
+    setwildbattle SPECIES_HITMONCHAN, 20, ITEM_NONE
+    dowildbattle
	end

Run Script 1, then Script 2 or 3.

Repro Steps

  1. Rapidash is hit with physical attack by Donphan
  2. Kee Berry activates
  3. Message prints that Donphan gets Defense boost <-- bug
  4. Message prints that Rapidash gets Defense boost

Video

Video of bug
kee.mp4

Version

1.6.1 (Default)

Upcoming Version

70ed93e

Discord contact info

pkmnsnfrn

@pkmnsnfrn pkmnsnfrn added bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics status: unconfirmed This bug has not been reproduced yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant