Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
TMHMDex
TypeDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

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: JapDex : Glitch Items  (Read 881 times)

0 Members and 1 Guest are viewing this topic.

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
JapDex : Glitch Items
« on: December 20, 2017, 11:43:17 pm »
"JapDex" is a project started by me and coloradohugge in an attempt to document glitch-like aspects of Japanese green.

I am covering glitch items. Here is what I have so far (each item was tested twice for accuracy, and this was done on v1.1):

Hex: $54
Name: ちか2かい (B2F)
Effects: Seemingly nothing
Battle effects: Seemingly nothing
Jumps to WRAM? No.
Can be used for ACE? No.
Other notes: None
-------------------------
Hex: $55
Name: ちか1かい (B1F)
Effects: Regarding the data from $D080 onward, but most likely the game just hangs/crashes
Battle effects: See above
Jumps to WRAM? Not directly, $F080, which is ECHO for $D080
Can be used for ACE? No.
Other notes: None
------------------------------------------------------------------------
Hex: $56
Name: 1かい (1F)
Effects: Same as B1F
Battle effects: See above
Jumps to WRAM? See above
Can be used for ACE? No.
Other notes: None
------------------------------
Hex: $57
Name: 2かい (2F)
Effects: Game hangs for a brief period of time, then resumes normal behavior
Battle behavior: Immediately relinquishes your turn to the opponent, game does not hang
Jumps to WRAM? No.
Can be used for ACE? No.
Other notes: None
-----------------------------
Hex $58
Name: 3かい (3F)
Effects: Same as B1F
Battle behavior: Same as above
Jumps to WRAM? No.
Can be used for ACE? No.
Other notes: None
-----------------------------
Hex $59
Name: 4かい (4F)
Effects: Executes code from $FA67 ($DA67). To my knowledge, this is a mere "nop" slide to OAM
Battle effects: Same
Jumps to WRAM? Not directly, $Fa67, which echos $Da67
Can be used for ACE? I'm uncertain FTTB, but probably not.
Other notes: In the english releases, this was ACE exploitable. See here for details
```````````````````````````````````````````````````
Hex $5A
Name: 5かい (5F)
Effects: This is entirely dependent on your party.
Battle effects: Same behavior
Jumps to WRAM? Yes, $D123
Can be used for ACE? Yes, i'll go into detail tommorow
Other notes: Essentially 8f for the Japanese releases
----------------------------------------
Hex $5B
Name: 6かい  (6F)
Effects: Game crashes/hangs
Battle behavior: Same behavior, though different jump location
Jumps to WRAM? Yes, $C4E1 (tilemap) or $E002 during battle (flag determining whether or not sound is muted)
Can be used for ACE? No.
Other notes: None
-----------------------------
Hex $5C
Name: 7かい (7F)
Effects: Psuedo-random effects. Game can sometimes crash,restart,hang,do nothing, or something else entirely
Battle Behavior: Game crashes/hangs
Jumps to WRAM? Not directly, and only guaranteed during battle. $F080
Can be used for ACE? No.
Other notes: Effects are consistent during battle
------------------------------------------
hex $5D
Name: 8かい (8F)
Effects: Game hangs/Crashes
Battle behavior: Same behavior
Jumps to WRAM? Not directly, $F080
Can be used for ACE? No.
Other notes: None:
-------------------------------------
Hex $5E
Name: 9かい (9F)
Effects: Game crashes/hangs
Battle behavior: Same Behavior
Jumps to WRAM? Not directly, $F080
Can be used for ACE? No.
Other notes: None
-------------------------------------
Hex $5f
Name: 10かい (10F)
Effects: Game simply hangs on the item menu, or executes code from $CA1E
Battle behavior:   Same behavior
Jumps to WRAM? Yes, $CA1E
Can be used for ACE? No.
Other notes: None
-----------------------------
Hex $60
Name: 11かい (11F)
Effects: Brings up the generic "You can't use that here" message
Battle behavior: Same behavior
Jumps to WRAM? No.
Can be used for ACE? No.
other notes: None
------------------------
Hex $61
Name: ちか4かい (B4F)
Effects: Game hangs/Crashes
Battle behavior: Same behavior
Jumps to WRAM? Not directly, $EAAF
Can be used for ACE? No.
Other notes: None
----------------------------------
Hex $62
Name: かみなリハッヂ (w m)
Effects: Dependant on data starting from $D0E1 onward
Battle behavior: Same behavior
Jumps to WRAM? Yes, $D0E1
Can be used for ACE? Sometimes. It's entirely dependent on the data at $D0E1 (wMoveStrings). Should the user be lucky, the data here creates a slide to Pokemon party data. See below for details.
Other notes: Don't try using this for ACE, 5f is an alternative that lands directly on Pokemon data
----------------------------------------------------
Hex: $63
Name: かいがらバッヂ (ws m)
Effects: Game simply hangs on the item menu
Battle behavior: Game crashes/hangs
Jumps to WRAM? Yes, but only during battle, and not directly. $F080
Can be used for ACE? No.
Other notes: None
----------------------------------
Hex: $64
Name: おじ芒つバッヂ (v t m)
Effects: Game hangs/Crashes
Battle behavior: Same behavior
Jumps to WRAM? Not directly, $F080
Can be used for ACE? No.
-----------------------------------------
Hex $65
Name: はやぶさバッヂ ('d m)
Effects: Game simply hangs on the item menu
Battle behavior: Same behavior
Jumps to WRAM? No.
Can be used for ACE? No.
-----------------------------------
Hex $66
Name: ひんやリパッヂ (m)
Effects: Causes the screen to fade out to white, then hangs game
Battle behavior: Very odd. Causes game to force-exit battle, but then forces the player into a completely dark map that doesn't seem to have an exit.
Jumps to WRAM? No.
Can be used for ACE? No.
---------------------------------------
Hex $67
Name: なかよL.ハッチ (w 'l m)
Effects: Execute code based on event flags. Even if all of your event flags are $00, game will still hit an rst vector.
Battle behavior: Same behavior
Jumps to WRAM? Yes, $D983
Can be used for ACE? No
-----------------------------------------
Hex $68
Name: ハラハッヂ (f m)
Effects: Game hangs/Crashes
Battle behavior: Same behavior
Jumps to WRAM? Yes, $CD35
Can be used for ACE? No.
----------------------------------------
Hex $69
Name: ひのたまバッヂ (m)
Effects: Seemingly nothing
Battle behavior: Relinquishes your turn
Jumps to WRAM? No.
Can be used for ACE? No.
------------------------------------------
Hex $6A
Name: コールドバッヂ (-g m)
Effects: Game simply hangs on the item menu. You can escape this by mashing a, but you will still be in a softlock-like state
Battle behavior: Behavior is interesting. Upon mashing a to escape the items menu, the battle will continue as normal, however you will not be able to see the screen. There can sometimes be brief periods in which the screen can be seen, but sprites are severely corrupted. After this, you enter a softlock-like state
Jumps to WRAM? No.
Can be used for ACE? No.
---------------------------------------------
Hex $6B
Name: たまご
Effects: Executes code from tilemap. This will probably crash the game.
Battle behavior: Same behavior
Jumps to WRAM? Not directly, $E3EA
Can be used for ACE? No.
-------------------------------
Hex $6C
Name: ひよこ (é)
Effects: Executes code from a backup of the tilemap. This will probably crash the game
Battle behavior: Same behavior
Jumps to WRAM? Yes, $CDD0
Can be used for ACE? No.
-----------------------------------------
Hex $6D
Name: フロンス (il)
Effects: Seemingly nothing
Battle behavior: Relinquishes turn
Jumps to WRAM? No.
Can be used for ACE? No.
------------------------------------------
Hex $6E
Name: シルハー
Effects: Game hangs/Crashes
Battle behavior: Same behavior
Jumps to WRAM? Not directly, $F080
Can be used for ACE? No.
-------------------------------
Hex $6F
Name: コールド
Effects: Jumps into data such as flag data. This will probably crash the game.
Battle behavior: Same behavior
Jumps to WRAM? Yes, $CD68
Can be used for ACE? No.
------------------------------------
Hex $70
Name: デチキャフテン
Effects: Draws a glitch textbox. Pressing a on this textbox will execute code from $D1F0
Battle Behavior: Same behavior f
Jumps to WRAM? Yes, $D1F0
Can be used for ACE? No.
Other notes: Corrupted screen that appears after returning is rather interesting. I will attach it to this thread.
----------------------------------------------------------------------------------------------------------------

I have more, just allow me to secure some time. Also, the Japanese names are probably a little off. Apologies if they are.

Getting Started With 5f
5かい (known as 5f in the English releases) is a glitch item that executes code from $D123, which controls the number of Pokemon in your party. This essentially makes it a carbon copy of 8f from the English releases. Just like 8f, you will need a bootstrapper to use 5f practically. If you wish to direct traffic to the third bag slot, you may do so with:
Code: [Select]
// Exactly 5 Pokemon
Pidgey // 233 HP
Parasect
Raticate
Tentacool
Nidoran (male)

With this, the state of the registers will probably be:
Code: [Select]
af = 2300
bc = FFB2
de = 0001
hl = D2A6

"So what can I do with this" - You can now use 8f -like scripts. I can assure you almost no script from English R/B will work here due to a shift in data, but most codes can be ported.

Example "Get x255 Master Balls in first slot"
Code: [Select]
ミックスオレ (Lemonade) x1
わきマシン34 (TM34)    x162
わきマシン10 (TM10)   x201

--------------------------------------------

"So why do glitch items tend to jump to $F080" - For whatever reason, there is a jump instruction at $0038 to $F080. Since all rst vectors in Japanese Red/Green go to $0038, the code will end up at $F080 whenever an rst vector is hit.
« Last Edit: December 21, 2017, 05:26:17 pm by Epsilon »
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • "Hens can't be scientists"..However I disagree! 🦋
    • View Profile
Re: JapDex : Glitch Items
« Reply #1 on: December 21, 2017, 07:52:29 am »
This is really nice. Thanks Epsilon and coloradohugge!

Which revision of Japanese Green is this for, v1.0 or v1.1? Not all glitch items work the same between revisions.

To test the revision you can check if you can perform the Select glitch from solely within battle (Select on an item, exit with B, open Pokémon menu and choose a Pokémon). If you can it's a v1.0.
Hi! I identify as female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





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




Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

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

The issue with spirituality I feel is that people try to learn ideology, which while valid is not the whole picture and can lead to 'spiritual materialism' (masking), when a large component is that as children we're already our genuine selves or 'spiritual masters'.

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: JapDex : Glitch Items
« Reply #2 on: December 21, 2017, 08:06:11 am »
This is really nice. Thanks Epsilon and coloradohugge!

Which revision of Japanese Green is this for, v1.0 or v1.1? Not all glitch items work the same between revisions.

To test the revision you can check if you can perform the Select glitch from solely within battle (Select on an item, exit with B, open Pokémon menu and choose a Pokémon). If you can it's a v1.0.

This was done on Revision 1.1. Thanks for pointing that out!
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago

Evie Torchic the Glitch Scientist

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • "Hens can't be scientists"..However I disagree! 🦋
    • View Profile
Re: JapDex : Glitch Items
« Reply #3 on: December 21, 2017, 10:45:50 am »
You're welcome! :)

I don't know many that are different yet, but GoldBadge (ゴールドバッヂ) hex:6A is an example of a glitch item that differs in use between v1.0 and v1.1 of Red/Green (and Japanese Yellow as well interestingly).

The ROM for v1.1 is usually called Pocket Monsters Midori Rev A online.
« Last Edit: December 21, 2017, 10:47:03 am by Princess Torchic ❤ »
Hi! I identify as female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





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




Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

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

The issue with spirituality I feel is that people try to learn ideology, which while valid is not the whole picture and can lead to 'spiritual materialism' (masking), when a large component is that as children we're already our genuine selves or 'spiritual masters'.

Epsilon

  • Zeta
  • Member+
  • *
  • Offline Offline
  • The default personal text makes no sense
    • View Profile
Re: JapDex : Glitch Items
« Reply #4 on: December 21, 2017, 02:11:16 pm »
I have confirmed with coloradohugge that he is also using v1.1.
"What's a stack? Can you eat that?"

"Sure, just POP it into your mouth!" (someoneplskillme)

Clash Royale profile: #LYQC9LLV. Join our clan because we're lonely.

Does anybody really know what time it is?

Does anybody really care?
- Chicago