Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitches
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
Glitch Pokémon cries
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: Leftover Mimic behaviour (Generation II)  (Read 1788 times)

0 Members and 1 Guest are viewing this topic.

Evie ✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Leftover Mimic behaviour (Generation II)
« on: December 15, 2014, 01:54:47 pm »
In at least the Japanese version of Crystal, the old behaviour of Mimic from Generation I is present in the game, unused. The original behaviour was that you could copy any one of the opponent's moves.

The game brings up your moves with another box that says "どのわざを ものまねする?" (which move should be Mimicked?).

In Generation II, Mimic was changed to copy the target's last move.

Hibiki Ganaha showed this in a video. After he/she selected a move to Mimic the game glitched up, but I don't know if that's because the interface was forced unexpectedly (after opening 'fight'). Maybe there is more code to this. On the other hand, the behaviour may be completely glitched.

Does anyone know what GameShark code(s) you can use to force the leftover Mimic behaviour?
« Last Edit: December 15, 2014, 02:21:51 pm by Torchickens »
Hi! I identify as transgender female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.



Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

I like to collect interesting video games.
https://www.vgcollect.com/Torchickens

The psychology of birth (including spiritual birth): pain>acceptance/courage in face of pain>embracement>unconditional love and strength

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Leftover Mimic behaviour (Generation II)
« Reply #1 on: December 16, 2014, 07:23:26 am »
Seems the OP replied to your youtube comment and gave a gameshark code, but D266 seems to at first glance do something different in English Crystal; namely, it's set to 1 if a Run attempt fails with the "Can't escape!" text, then back to 0 after the game calls a function that I assume uses it.
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Evie ✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Leftover Mimic behaviour (Generation II)
« Reply #2 on: December 16, 2014, 09:16:53 am »
Thanks. The memory structure is different between English and Japanese Crystal.

What I try to do to port codes like this is look at the surrounding bytes and do a 32 bit data search in VBA (note you have to enter the bytes in reverse order). This doesn't always work if VBA doesn't think your values are a 32 bit byte, but from the beginning of the game I searched 27 9B -00- 00, and the 00 was at D235. 010135D2 brings up your fight screen box but doesn't let you back out, and choosing a move makes you use Struggle. I don't know if it's the same thing.

Edit: That code in English Gold is 01011FD1.
Edit 2: Japanese Gold - 010111D1.
Edit 3: English Crystal (listed again so it's easier to see) - 010135D2.
« Last Edit: December 16, 2014, 05:56:37 pm by Torchickens »
Hi! I identify as transgender female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.



Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

I like to collect interesting video games.
https://www.vgcollect.com/Torchickens

The psychology of birth (including spiritual birth): pain>acceptance/courage in face of pain>embracement>unconditional love and strength

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Leftover Mimic behaviour (Generation II)
« Reply #3 on: December 16, 2014, 02:57:10 pm »
It might be the same thing.

It clearly displays a string (at 3e61c) beside the move box, but that string is dummied out (just a single 50).
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Evie ✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Leftover Mimic behaviour (Generation II)
« Reply #4 on: December 16, 2014, 04:36:46 pm »
It might be the same thing.

It clearly displays a string (at 3e61c) beside the move box, but that string is dummied out (just a single 50).

Ah, interesting. The string would start at the same coordinates as the Japanese version (BGB: x=0B, y=0E) so that makes it more likely.
« Last Edit: December 16, 2014, 06:05:58 pm by Torchickens »
Hi! I identify as transgender female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.



Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

I like to collect interesting video games.
https://www.vgcollect.com/Torchickens

The psychology of birth (including spiritual birth): pain>acceptance/courage in face of pain>embracement>unconditional love and strength

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

Glisp

  • The Protector of Darkness
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • The Dark Eternal Champion will pwn you!
    • View Profile
Re: Leftover Mimic behaviour (Generation II)
« Reply #5 on: December 16, 2014, 07:28:55 pm »
Interesting stuff guys. keep up the good work. Though, I thought Mimic in generation 1 just copied a random move rather than letting you choose it. (sort of like how disable disables a random move in generation 1)
Bleah! *Splash and Splatter*