• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Research: List Of Hidden Item Flags Used In Fire Red

45
Posts
11
Years
  • Seen Jun 26, 2023
The hidden item flags that are used in Fire Red don't seem to be very well documented. So, I documented every single hidden ID flag used in Fire Red. Here is a list with all the IDs, items, location and map # (within A-Map):

Code:
List Of Hidden Item Flags Used In Fire Red

Item ID | Item | Location | Map # (For Use with A-Map)
-------------------------------------------------------------------------------

00 - Potion - Viridian Forest - (1.0)
01 - Antidote - Viridian Forest - (1.0)
02 - Moon Stone - Mt. Moon Floor 3 - (1.3)
03 - Ether - Mt. Moon Floor 3 - (1.3)
04 - Elixir - Route 25 OW - (3.44)
05 - Ether - Route 25 OW - (3.44)
06 - Ether - Route 9 - (3.27)
[b]07 - N/A - N/A - N/A[/b]
08 - Hyper Potion - S.S Anne Inside - (1.8)
09 - Super Potion - Route 10 OW - (3.28)
0A - Max Ether - Route 10 OW - (3.28)
0B - PP Up - Rocket's Hideout Basement Floor 1 - (1.42)
0C - Nugget - Rocket's Hideout Basement Floor 3 - (1.44)
0D - Nest Ball - Rocket's Hideout Basement Floor 4 - (1.45)
0E - Big Mushroom - Pokémon Tower Floor 5 - (1.92)
0F - PP Up - Route 13 - (3.31)
[b]10 - N/A - N/A - N/A[/b]
11 - Rare Candy - Route 17 - (3.35)
12 - Full Restore - Route 17 - (3.35)
13 - PP Up - Route 17 - (3.35)
14 - Max Revive - Route 17 - (3.35)
15 - Max Elixir - Route 17 - (3.35)
16 - Leaf Stone - Safari Zone Area 1 - (1.63)
17 - Revive - Safari Zone Area 4 - (1.66)
18 - Elixir - Silph Co. Floor 5 - (1.51)
19 - Max Potion - Silph Co. Floor 9 - (1.55)
1A - Nugget - Copycat's Room (14.1)
1B - Max Elixir - Power Plant - (1.95)
1C - Thunder Stone - Power Plant - (1.95)
1D - Nugget - Seafoam Islands Floor 4 - (1.86)
1E - Water Stone - Seafoam Islands Floor 5 - (1.87)
1F - Moon Stone - Pokémon Mansion Floor 1 - (1.59)
20 - Rare Candy - Pokémon Mansion Floor 3 - (1.61)
21 - Elixir - Pokémon Mansion Floor 4 - (1.62)
22 - Full Restore - Route 23 - (3.42)
23 - Ultra Ball - Route 23 - (3.42)
24 - Max Ether - Route 23 - (3.42)
25 - Ultra Ball - Victory Road Floor 1 - (1.39)
26 - Full Restore - Victory Road Floor 1 - (1.39)
27 - Ultra Ball - Cerulean Cave Floor 1 - (1.72)
[b]28 - N/A - N/A - N/A[/b]
29 - Escape Rope - Route 11 OW - (3.29)
2A - Hyper Potion - Route 12 OW - (3.30)
[b]2B - N/A - N/A - N/A[/b]
[b]2C - N/A - N/A - N/A[/b]
[b]2D - N/A - N/A - N/A[/b]
[b]2E - N/A - N/A - N/A[/b]
2F - PP Up - Celadon City OW (3.6)
30 - Max Ether - Vermilion City OW (3.5)
31 - Rare Candy - Cerulean City OW (3.3)
32 - Great Ball - Route 4 OW - (3.22)
33 - Item 0000 (Coins) - Celadon Game Corner (10.14)
34 - Item 0000 (Coins) - Celadon Game Corner (10.14)
35 - Item 0000 (Coins) - Celadon Game Corner (10.14)
36 - Item 0000 (Coins) - Celadon Game Corner (10.14)
37 - Item 0000 (Coins) - Celadon Game Corner (10.14)
38 - Item 0000 (Coins) - Celadon Game Corner (10.14)
39 - Item 0000 (Coins) - Celadon Game Corner (10.14)
3A - Item 0000 (Coins) - Celadon Game Corner (10.14)
3B - Item 0000 (Coins) - Celadon Game Corner (10.14)
3C - Item 0000 (Coins) - Celadon Game Corner (10.14)
3D - Item 0000 (Coins) - Celadon Game Corner (10.14)
3E - Item 0000 (Coins) - Celadon Game Corner (10.14)
3F - Cheri Berry - Sevault Canyon OW - (3.64)
40 - Heart Scale - Tanoby Ruins - (3.65)
41 - Heart Scale - Tanoby Ruins - (3.65)
42 - Heart Scale - Tanoby Ruins - (3.65)
43 - Heart Scale - Tanoby Ruins - (3.65)
44 - Nest Ball - Rocket Warehouse - (1.114)
45 - Net Ball - Rocket Warehouse - (1.114)
46 - Potion - Underground Path - (1.31)
47 - Antidote - Underground Path - (1.31)
48 - Paralyze Heal - Underground Path - (1.31)
49 - Awakening - Underground Path - (1.31)
4A - Burn Heal - Underground Path - (1.31)
4B - Ice Heal - Underground Path - (1.31)
4C - Ether - Underground Path - (1.31)
4D - Potion - Underground Path - (1.34)
4E - Antidote - Underground Path - (1.34)
4F - Paralyze Heal - Underground Path - (1.34)
50 - Awakening - Underground Path - (1.34)
51 - Burn Heal - Underground Path - (1.34)
52 - Ice Heal - Underground Path - (1.34)
53 - Ether - Underground Path - (1.34)
54 - Tiny Mushroom - Mt. Moon Floor 2 - (1.2)
55 - Tiny Mushroom - Mt. Moon Floor 2 - (1.2)
56 - Tiny Mushroom - Mt. Moon Floor 2 - (1.2)
57 - Big Mushroom - Mt. Moon Floor 2 - (1.2)
58 - Big Mushroom - Mt. Moon Floor 2 - (1.2)
59 - Big Mushroom - Mt. Moon Floor 2 - (1.2)
5A - Razz Berry - Berry Forest - (1.109)
5B - Bluk Berry - Berry Forest - (1.109)
5C - Nanab Berry - Berry Forest - (1.109)
5D - Wepear Berry - Berry Forest - (1.109)
5E - Oran Berry - Berry Forest - (1.109)
5F - Cheri Berry - Berry Forest - (1.109)
60 - Chesto Berry - Berry Forest - (1.109)
61 - Pecha Berry - Berry Forest - (1.109)
62 - Rawst Berry - Berry Forest - (1.109)
63 - Aspear Berry - Berry Forest - (1.109)
64 - Persim Berry - Berry Forest - (1.109)
65 - Pinap Berry - Berry Forest - (1.109)
66 - Lum Berry - Berry Forest - (1.109)
67 - Stardust - Treasure Island - (3.46)
68 - Stardust - Treasure Island - (3.46)
69 - Pearl - Treasure Island - (3.46)
6A - Pearl - Treasure Island - (3.46)
6B - Ultra Ball - Treasure Island - (3.46)
6C - Ultra Ball - Treasure Island - (3.46)
6D - Star Piece - Treasure Island - (3.46)
6E - Big Pearl - Treasure Island - (3.46)
6F - Rare Candy - Cape Brink OW - (3.47)
70 - Pokeball - Pewter City OW (3.2)
71 - Oran Berry - Route 3 - (3.21)
72 - Persim Berry - Route 4 OW - (3.22)
73 - Pecha Berry - Route 24 - (3.43)
74 - Oran Berry - Route 25 OW - (3.44)
75 - Bluk Berry - Route 25 OW - (3.44)
76 - Sitrus Bery - Route 6 OW - (3.24)
77 - Rare Candy - Route 6 OW - (3.24)
78 - Pecha Berry - S.S Anne Outside - (1.10)
79 - Cheri Berry - S.S Anne Outside - (1.10)
7A - Chesto Berry - S.S Anne Outside - (1.10)
7B - Rare Candy - Route 9 - (3.27)
[b]7C - N/A - N/A - N/A[/b]
7D - Persim Berry - Route 10 OW - (3.28)
7E - Cheri Berry - Route 10 OW - (3.28)
7F - Rawst Berry - Route 8 OW - (3.26)
80 - Lum Berry - Route 8 OW - (3.26)
81 - Leppa Berry - Route 8 OW - (3.26)
82 - Rare Candy - Route 12 OW - (3.30)
83 - Leftovers - Route 12 OW - (3.30)
84 - Leftovers - Route 16 OW - (3.34)
85 - Max Revive - Fuchsia City OW - (3.7)
86 - Net Ball - Rocket's Hideout Basement Floor 4 - (1.45)
87 - Ultra Ball - Silph Co. Floor 2 - (1.48)
88 - Protein - Silph Co. Floor 3 - (1.49)
89 - Iron - Silph Co. Floor 4 - (1.50)
8A - PP Up - Silph Co. Floor 5 - (1.51)
8B - Carbos - Silph Co. Floor 6 - (1.52)
8C - Zinc - Silph Co. Floor 7 - (1.53)
8D - Nugget - Silph Co. Floor 8 - (1.54)
8E - Calcium - Silph Co. Floor 9 - (1.55)
8F - HP Up - Silph Co. Floor 10 - (1.56)
90 - Revive - Silph Co. Floor 11 - (1.57)
91 - Lum Berry - Route 23 - (3.42)
92 - Sitrus Berry - Route 23 - (3.42)
93 - Aspear Berry - Route 23 - (3.42)
94 - Leppa Berry - Route 23 - (3.42)
95 - Zinc - Route 14 - (3.32)
96 - Chesto Berry - Route 9 - (3.27)
97 - Nanab Berry - Route 10 OW - (3.28)
98 - Wepear Berry - Route 7 OW (3.25)
99 - Star Dust - Route 20 - (3.38)
9A - Pearl - Route 21 (OW 1 out of 2) - (3.39)
9B - Max Elixir - Route 23 - (3.42)
9C - Razz Berry - Route 4 OW - (3.22)
9D - Pinap Berry - Route 14 - (3.32)
9E - Fire Stone - Mt. Ember OW Entrance - (1.97)
9F - Soothe Bell - Pokémon Tower Floor 7 - (1.94)
A0 - Sacred Ash - Navel Rock Roof - (2.37)
A1 - PP Max - Cape Brink OW - (3.47)
A2 - Ultra Ball - Mt. Ember OW Entrance - (1.97)
A3 - Nugget - Three Isle Path - (2.34)
A4 - PP Up - Three Island - (3.14)
A5 - Max Repel - Bond Bridge - (3.48)
A6 - Pearl - Bond Bridge - (3.48)
A7 - Stardust - Bond Bridge - (3.48)
A8 - Pearl - Four Island - (3.15)
A9 - Ultra Ball - Four Island - (3.15)
AA - Big Pearl - Memorial Pillar - (3.57)
AB - Razz Berry - Memorial Pillar - (3.57)
AC - Sitrus Berry - Memorial Pillar - (3.57)
AD - Bluk Berry - Memorial Pillar - (3.57)
AE - Nest Ball - Resort Gorgeous OW - (3.54)
AF - Stardust - Resort Gorgeous OW - (3.54)
B0 - Star Piece - Resort Gorgeous OW - (3.54)
B1 - Stardust - Resort Gorgeous OW - (3.54)
B2 - Star Piece - Outcast Island - (3.58)
B3 - Net Ball - Outcast Island - (3.58)
B4 - Ultra Ball - Green Path - (3.59)
B5 - Aspear Berry - Water Path OW - (3.60)
B6 - Oran Berry - Water Path OW - (3.60)
B7 - Pinap Berry - Water Path OW - (3.60)
B8 - Leppa Berry - Six Island - (3.18)
B9 - Big Pearl - Trainer Tower OW - (3.62)
BA - Pearl - Trainer Tower OW - (3.62)
BB - Nanab Berry - Trainer Tower OW - (3.62)
BC - Rawst Berry - Canyon Entrance - (3.63)
BD - Macho Brace - Viridian City's Gym - (5.1)
BE - Lava Cookie - S.S Anne Ship Dock - (1.4)
[b]BF - N/A - N/A - N/A[/b]
[b]C0-FF  - N/A - N/A - N/A[/b]

The ones filled with N/A appear to be unused. They seem to go in an order from the way it looks (in terms of development). You can tell they went back and added some items later, before release. It seems to be of interest that 2B-2E go unused. There are also unused maps and headers within Fire Red, so it seems they were scrapped last-minute items (possibly intended for Sevii Islands 8-9?).

Let me know if I missed any of them or any other oversight.
 
Last edited:
3
Posts
6
Years
  • Age 31
  • Seen Mar 22, 2018
Hello Shanem,

I found something very strange about some hidden items. For example, most of the items in the underground paths don't appear until you do something in the game first. It seems to be the case also for the tiny mushrooms in fire red. When you start a new game and go instantly to brock and after that in one go to Mt. Moon, you can never find the tiny mushrooms.
It's very, very strange to me that after more almost 15 years nowhere on the internet someone has found the exact ingame events for making these hidden items spawn. There are guesses: entering SS Anne or obtaining the VS seeker spawns the hidden items in the vertical underground path, clearing the rocket warehouse would spawn the hidden items in horizontal path and beating the game would spawn the 3 big mushrooms in Mt. Moon, but what event spawns the tiny mushrooms is completely unknown. Do you know more perhaps?
 

DrFuji

[I]Heiki Hecchara‌‌[/I]
1,691
Posts
14
Years
Hello Shanem,

I found something very strange about some hidden items. For example, most of the items in the underground paths don't appear until you do something in the game first. It seems to be the case also for the tiny mushrooms in fire red. When you start a new game and go instantly to brock and after that in one go to Mt. Moon, you can never find the tiny mushrooms.
It's very, very strange to me that after more almost 15 years nowhere on the internet someone has found the exact ingame events for making these hidden items spawn. There are guesses: entering SS Anne or obtaining the VS seeker spawns the hidden items in the vertical underground path, clearing the rocket warehouse would spawn the hidden items in horizontal path and beating the game would spawn the 3 big mushrooms in Mt. Moon, but what event spawns the tiny mushrooms is completely unknown. Do you know more perhaps?

I did digging into this question as its quite interesting why this has gone unnoticed for so long, so I'm just going to do an info dump here. The fact that there has basically been no research on hidden items in FR is surprising as I couldn't even find a single mention of the flags set by the hidden item script in FR.

If you want to figure out what set/ clears a hidden item's flag, the first stop would the hidden item script itself. The script can be found at 0x1A6846 and looks like this:

Spoiler:


To help figure out what's going on in this script, some extra information is needed. Flag 0x243 is set when you receive the Coin Case (interesting how the script checks a flag rather than whether you have a key item) from the guy in Celadon City and prior to this script the following variables are set:
0x8004 to the 'Hidden ID' in A-Map
0x8005 to the 'Number ID' in A-Map (what item the signpost is giving)
0x8006 to the amount of items given (81 has interesting ItemFinder properties but only gives one item)

The part that we are interested in is the command 'special 0x96' as that's the part that sets the flag for whether we have picked up the item or not. You can see this as when you delete the command from the scripts you can keep picking up the same item until your bag is full. Unfortunately special 0x96 is one of the commands that JPAN was unable to fully figure out in his specials thread but Spherical Ice came to the rescue and showed that it sets the flag whose number is loaded into variable 0x8004. Since the Hidden ID of the item was loaded into 0x8004 (as seen above) it proves that the special is setting the item's flag, which is quite useful as that means we now have access to dynamic flag setting.

Checking the contents of 0x8004 after interacting with a hidden item will allow you find out what flag is being set. The flags being set by hidden items (minus the empty slots documented in the first post) in an unmodified FR ROM range from 0x3E8 to 0x4A6, which is the same starting place for hidden items in Emerald. These flags weren't documented by DavidJCobb or karatekid552 in their FR flag and variables research but oh well. As an aside, you could go up to flag 0x4AF (Hidden ID 0xC7) without interfering with other FR in-game scripts or flag 0x4E7 (Hidden ID 0xFF) if you don't care about the originals and are making your own scripts, but that doesn't really matter to what we're doing here.

The mushrooms in Mt. Moon range from flags 0x43C to 0x441, but unfortunately after searching through the ROM I was unable to find any instances of those flag being set or cleared. This leads me to believe that they are either being cleared dynamically (similar to how they were set dynamically through special 0x96) or through another special command somewhere in the ROM. If you're able to pinpoint at exactly what time the flags are cleared and the mushrooms are able to be interacted with we should be able to figure out what is going on.
 
Last edited:
3
Posts
6
Years
  • Age 31
  • Seen Mar 22, 2018
Wow man this is awesome!!! So we really can find out what exactly triggers the mystery Mt. Moon mushrooms. This is even better than I could dream of.

I would like to search this, but I don't know how since I have no experience at all with hacking roms. How can I open a rom and search for myself?

So as far as I can understand, the tiny mushrooms are there, but the special command says it's already picked at the start of the game, and then some kind of event makes this untrue - saying the item has not been picked - and when you pick the item up, the special again says it has been picked up - like it always does. So... we have to search what sets this special 0x96 in the game for the tiny mushrooms in Mt. Moon. Am I thinking right? But how could I do this? Read all 0x96 commands in the whole rom? :-P How can I pinpoint the exact time this phenomenon happens?

Also, thank you very much for helping me out. This is gonna be big when we know it!!
 
Last edited:
3
Posts
6
Years
  • Age 31
  • Seen Mar 22, 2018
Update:

There is already one thing I know and that is when you return the quickest way possible to Mt. Moon in the game without doing anything else (defeat Misty, enter SS Anne, get cut, and go through diglett tunnel back to Pewter) you wll find the TinyMushrooms. We can conclude that in a normal game, anytime when you just return to Mt. Moon, you have to find them.
 
232
Posts
12
Years
  • Seen Sep 10, 2019
Those mushrooms at Mt. Moon can keep respawning even after the player has picked them up. There are other places that also have respawning items, such as Berry Forest, Treasure Beach, Tanoby Ruins for those useless Heart Scales, the shore of Seven Island heading towards the Trainer Tower. They may respawn after the player has taken x amount of steps. I wouldn't be surprised if the hidden items are able to respawn inside the Underground Path.
 
Last edited:
Back
Top