Jump to content

Recommended Posts

Posted

In fire red there are flags for “defeat voltorb” and “defeat electrode”. I’ve noticed that the “defeat voltorb” flags are for the electrode in the power plant but I don’t know what the “defeat electrode” flags are for. I noticed one was checked around seafoam island and the other after I finished Lostelle and the Hypno. Does anyone have an idea? If this question has been asked before can anyone lead me in the right direction? I haven’t found anything yet.

Posted

 

12 hours ago, Dakotalogy said:

In fire red there are flags for “defeat voltorb” and “defeat electrode”. I’ve noticed that the “defeat voltorb” flags are for the electrode in the power plant but I don’t know what the “defeat electrode” flags are for. I noticed one was checked around seafoam island and the other after I finished Lostelle and the Hypno. Does anyone have an idea? If this question has been asked before can anyone lead me in the right direction? I haven’t found anything yet.

So you're looking for flags relating to whether a certain Electrode is defeated? Are you trying to repeat an encounter or something?

Some of the flags are here: https://github.com/pret/pokefirered/blob/52c25bac8e7c9fe7ad97d7890be89c7feededf65/include/constants/flags.h

 


As far as I can tell, they use the PKHeX uses the same index as represented there.
I used Hide Mewtwo (0x81/129) to test it.

If referencing that page doesn't help, you can always do a before/after comparison with the Electrode you have in mind.

Before Save - Standing in front of Electrode
After Save - After defeating it.

Then go to here, load old and load new, compare which flag got set/unset:
image.png

Posted
2 hours ago, theSLAYER said:

 

So you're looking for flags relating to whether a certain Electrode is defeated? Are you trying to repeat an encounter or something?

Some of the flags are here: https://github.com/pret/pokefirered/blob/52c25bac8e7c9fe7ad97d7890be89c7feededf65/include/constants/flags.h

 


As far as I can tell, they use the PKHeX uses the same index as represented there.
I used Hide Mewtwo (0x81/129) to test it.

If referencing that page doesn't help, you can always do a before/after comparison with the Electrode you have in mind.

Before Save - Standing in front of Electrode
After Save - After defeating it.

Then go to here, load old and load new, compare which flag got set/unset:
image.png

Thank you for answering. I'll have to take a more in-depth look at that, but it does help. I was referring to the picture below in the event flags. The two voltorbs match the overworld electrodes in power plant, but I don't know what triggered the electrode flags. As far as I know there are only overworld electrodes in the power plant and no voltorbs so it was kinda confusing. 

eventFlags.png

Posted

@Dakotalogy I'm not convinced about your report of:

Quote

 and the other [was checked] after I finished Lostelle and the Hypno

 

I cross checked the PKHeX's source listing to the disassembly:
image.png

 

@Kaphotics the flags doesn't seem fully right..

(1). Is there a possibility that 0x2D2 is a typo (0x2D1 would label the second Electrode fought)
(2). Calling it Voltorb isn't correct. Also there's an issue with whether something is fought or defeated (all is called defeated)

Posted (edited)
1 hour ago, theSLAYER said:

@Dakotalogy I'm not convinced about your report of:

 

I cross checked the PKHeX's source listing to the disassembly:
image.png

 

@Kaphotics the flags doesn't seem fully right..

(1). Is there a possibility that 0x2D2 is a typo (0x2D1 would label the second Electrode fought)
(2). Calling it Voltorb isn't correct. Also there's an issue with whether something is fought or defeated (all is called defeated)

Yeah, I wasn't quite convinced of it either. I did go to the power plant directly after Lostelle and it was just the major event I remembered that could've checked something, sorry about that. But from your new picture the "Defeated electrode (2)" flag does match up to the seafoam islands current because it was checked after I saved next to Articuno and moved all boulders to their locations. I did some more walking around in the power plant and noticed that the "Defeated electrode (1)" was checked after battling the Electrode at the bottom next to the machine.

Edited by Dakotalogy

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...