Jump to content

ORAS and XY Flag Research Thread


sabocan

Recommended Posts

Hey guys! With the new PKHeX update I thought that I should start a thread where people post their flag difference results for in game events such as ; delta episode and team flare hq. I'll start by posting my results from 2 ramsav's 1 is right before battling wallace at sky pillar and the other is right after finishing the delta episode.

After finishing these flags got set 0217,0604,0704,0713,0722,0724,0725,0750,0753,0883,0928,0930,0953,2633,2735,2799,2842,2888,2925

and these got unset 0416,0457,0540,0686,0687,0760,0892,0914,0915,0916,0918,0921,0927,0929

At this moment I'm trying to find more specific events such as only the wallace battle or catching rayquaza. I hope this will be helpful!

Link to comment
Share on other sites

  • 2 months later...

Just thought I should post that flag 214 is somehow applied to the Johto starters. Trying to figure out how to be able to just uncheck and collect all three on one save..

EDIT: Figured out both the Johto and Unova starters!

For the Johto starters - after accepting one from Professor Birch, uncheck Flag 214, and change the event constants as follows: 0x094=0, 0x0F6=0, and 0x1EE=0.

For the Unova starters - after accepting one from Professor Birch, uncheck Flag 215, and change the event constants as follows: 0x022=1, 0x098=0, 0x0F6=3, and 0x1EE=3.

Took me a hot minute, but I got it! =D

Edited by killakitten
Link to comment
Share on other sites

Here's some data I got for OR Sky Pillar Flags:

674, 792, 1178 CHECKED

750 UNCHECKED (Wallace Unlocking Sky Pillar)

457 UNCHECKED (Defeating Wallace at Sky Pillar)

2735, 2799, 2888 CHECKED (Entering Sky Pillar)

1388 CHECKED (Picking up Sky Pillar Dragon Scale)

725 CHECKED (After listening to all of Rayquaza's Story)

1395 CHECKED (Picking up TM64 [Explosion])

2926 CHECKED

844 UNCHECKED (Before Battling Rayquaza)

217, 604, 704, 713, 722, 724, 753, 844, 883, 928, 930, 953, 2633, 2842, 2925 CHECKED

416, 540, 686, 759, 760, 892, 914, 915, 916, 918, 921, 927, 929, 2926 UNCHECKED (After Capturing Rayquaza and Deoxys, defeating Zinnia, and ending the episode)

Link to comment
Share on other sites

  • 7 months later...

Sorry if this is considered necroposting, but I seem to have found the flags that determine the extremely harsh sunlight in Omega Ruby! (Yeah, I played through the game again just to get to that part. lol)

Not sure if it requires un-ticking the Defeated/Captured Groudon flags, but if you set flag 2809 and un-set flag 0458 in Omega Ruby, then the extreme sunlight will return to eastern Hoenn once again. As of yet, I don't know if the same flags control the heavy rain in Alpha Sapphire. I'm about to test that soon.

Edit: Surprisingly, modifying the same flags in Alpha Sapphire makes it extremely harsh sunlight just like in Omega Ruby! Interesting... I'll have to figure out the heavy rain flags another time. (Unless you guys are willing to do that for me... Lol!)

Edit 2: I managed to get the heavy rain working! The flag to enable is 2810, I think. Enjoy getting soaked in heavy rain!

Screenshots:

Heavy Rain screenshots:

gWYNnnC.png

8CBTjrC.png

Extreme Sunlight screenshots:

fk9VAXI.png

fAN5RGM.png

P.S. I don't think it's necessary to un-set flag 458 to get the primal weather...

Edited by YoshiOG1
  • Like 1
Link to comment
Share on other sites

  • 1 year later...
1 hour ago, DarkSoulSaint said:

Could you possibly show an image of this, I'm not quite understanding how to change the constants to the values you listed.

The interface has changed in the past two years since the reply was posted.

image.png

To use the values as the user posted, convert from hex then divide by 2 to get the 'new' constant ID in the current UI.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

 

Xerneas/Yveltal Flag data (which was useful to me):


Starter flags & constants?
When starter received:
0509 Set, 0510 Set, 2546 set, 2650, unset.

Chespin Constants:
48: 0->0
116: 0->3
124: 5->6

Fennekin Constants:
48: 0->1
116: 0->3
124: 5->6

Froakie Constants:
48: 0->2
116: 0->3
124: 5->6

after copying the flags/constants that belonged to a save that is right before a Legendary Bird at Sea Spirit Den,
Then copying the above 48th constant, the legendary bird doesn't change.


Legendary Bird Sea Spirit Den (requires Hex editing):
At 0x14A00, to ensure Champion complete, and probably to ensure post E4 flags are set.

Spoiler

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 93 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 11 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 06 00 00 00 03 00 02 00 03 00 09 00 04 00 02 00 02 00 00 00 0A 00 02 00 05 00 0E 00 02 00 00 00 01 00 01 00 01 00 01 00 01 00 01 00 05 00 01 00 01 00 03 00 03 00 00 00 00 00 01 00 01 00 03 00 00 00 01 00 02 00 03 00 02 00 08 00 02 00 07 00 03 00 05 00 03 00 02 00 0A 00 09 00 02 00 05 00 01 00 02 00 03 00 04 00 01 00 03 00 03 00 02 00 02 00 06 00 03 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 03 00 01 00 02 00 03 00 01 00 01 00 01 00 01 00 01 00 01 00 02 00 03 00 0A 00 00 00 00 00 04 00 00 00 01 00 01 00 02 00 07 00 00 00 02 00 01 00 00 00 00 00 00 00 00 00 01 00 01 00 05 00 04 00 01 00 02 00 00 00 01 00 00 00 01 00 03 00 05 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 02 00 02 00 02 00 02 00 02 00 02 00 02 00 01 00 01 00 02 00 00 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 03 00 00 00 40 00 00 84 00 00 00 00 00 00 02 78 00 00 14 00 80 02 00 00 00 00 00 18 08 00 43 00 00 03 4A 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 F8 7F F4 FF FF FF FF EF 6F 7F 00 F0 36 E0 6D BD FF 7D F1 01 00 FF FF CF FF 4F 00 C0 7F FF FF FF FF EF 3F 5F FD 0C 10 60 FE B6 80 FF AF FF F0 FF FF FF A7 4F 7F 7F D7 FF FF 51 01 00 00 00 20 00 50 00 01 00 00 24 C0 01 80 02 00 08 01 00 00 80 00 00 00 00 00 00 00 00 80 00 28 A0 18 1E 11 0E 02 BF F0 D3 42 20 00 79 4F 01 00 E0 7F 29 B1 3E 27 CD 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 1C 22 4E F2 3B 01 C0 33 89 60 84 E5 21 00 FD 2D 66 F0 E3 07 00 00 00 00 00 00 80 52 00 00 00 00 00 00 40 1E 1D 00 00 00 00 83 86 6E 04 02 3A C0 82 B3 0B 00 00 00 19 01 90 01 00 00 00 00 A8 E4 B7 04 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 25 00 00 D8 00 00 C0 0B 00 80 F7 FF 0F 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 FF FF 00 00 00 00 00 00 FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 

Might or might not be important to have constant 230: 1 and 822 being unset


edit 1:
I believe that 0x17E40 records the amount of times the roamer was met. goes from 0x00 to 0x0B
Now just gotta find what triggers whether the battle is available. (update: This portion is definitely correct)

0x17E23 0x20 -> 0x40 seems to control if it can be battled (update: This portion is seems correct)

Something in 0x17E00 to 0x17E3F controls whether the encounter is Articuno, Zapdos or Moltres.
Here's what I have:
Articuno

00 00 00 00 44 02 32 00 00 00 00 00 00 00 00 00 00 00 00 00 44 02 00 00 00 00 00 00 90 40 0F 00 46 FA 12 20 1A 00 5F 01 5C 1C CE 08 C0 D1 2A AF D6 38 47 06 24 81 C6 08 88 F2 3C 00 00 28 CE 08

Zapdos

4C 00 44 00 77 02 32 00 00 00 00 00 00 00 00 00 00 00 00 00 77 02 00 00 00 00 00 00 91 40 0F 00 46 FB 12 20 1A 00 5F 01 6C 1C CE 08 00 FD D6 FE 27 4A 31 07 34 81 C6 08 30 09 3D 00 10 28 CE 08

Moltres

4D 00 00 00 B9 01 32 00 00 00 00 00 00 00 00 00 00 00 00 00 B9 01 00 00 00 00 00 00 92 40 0F 00 46 F9 12 20 1A 00 5F 01 5C 1C CE 08 80 49 FB CF 12 22 44 06 24 81 C6 08 64 F1 3C 00 00 28 CE 08


Using the data above, I managed to generate all 3 Legendary Birds, on the same save, regardless of starter.
Someone else shall test this data to confirm it works :)

(Obtained the Articuno and Moltres data from @Poke J and @PokemonKing99's file)

 

Update again:
0x17E1C controls the "species type" of the roaming dex entry. (doesn't change the battle to that species, tho)
Example, as seen below:
DcIlDjeV0AAaqXe.jpg\

Update again:
0x17E1C also controls the encounter species type.
If it isn't a legendary bird, it appears to default to Articuno.


Finalized Edit:

@Kaphotics I believe we can add this to PKHeX and get users to test it.

0x17E1C  controls species ID. (90, 91 or 92)
                Forcing it to other values will force the encounter to be Articuno.
0x17E23  0x20 Ready to Battle (also 20 when below 0x0B), 0x40 Captured/Defeated.
0x17E40  Stores roam encountered count (0x00 to 0x0B)

I assume other data between 0x17E00 to 0x17E3F is the map data that shows where it's roaming.


This is what happened when Moltres got defeated:
0822 Became Set.
32: 147->148
230: 1->0

 

  • Like 2
Link to comment
Share on other sites

  • 1 year later...

Lumiose Kanto Starters Research

Spoiler

Changes after Starter received:

Flags
0223 Set, 0571 Unset, 0934 Unset, 2622 Unset

Event Constants
Receiving Bulbasaur
59: 0->3
155: 1->2
213: 2->3

Receiving Charmander
59: 0->4
155: 1->2
213: 2->3

Receiving Squirtle
59: 0->5
155: 1->2
213: 2->3

Receiving Skates

Spoiler

Changes done to save after skates were received
Flag 2549 Set
121: 0->2

Snorlax

Spoiler

Changes done to save after Snorlax was battled and captured
Flag 0225 Set, 0532 Set, 0535 Set, 0538 Set, 0917 UnSet
127: 4->6

Korrina's Lucario and Mega Bracelet

Spoiler

Changes done to save after Lucario was received and battle completed
Flag 0204 Set, 0853 Set
151: 7->9
152: 0->2
204: 0->1

Route 12 Lapras Gift

Spoiler

Changes done to save after Lapras was received
Flag - no changes
204: 1->2

Bins in Lost Hotel

Spoiler

After Pokémon encounter/item received
Flag 306X UnSet

The flags for the Tuesday bins will only work when, well, it's Tuesday.
image.png

Bins in Pokémon Village

Spoiler

After Pokémon encounter/item received
Single Flag: 3056 to 3060 UnSet

The flags for the Thursday bins will only work when, well, it's Thursday.image.png

Map Flags

Spoiler

Changes made after map/PC in map has been visited. Requirements differ slightly based on map.

Santalune: 2626 Set
Geosenge: 2635 Set
Dendemille: 2636 Set
Couriway: 2637 Set
Ambrette: 2638 Set
Pokémon League: 2639 Set
Kiloude: 2640 Set
Lumiose South 2641 Set
Lumiose North: 2642 Set
Lumiose City (Center): 2643 Set

 

Completing First E4/Champion

Spoiler

Changed made after E4&Champion defeated.

*Still investigating*
image.png
image.png

Xerneas/Yveltal (with cutscene)

Spoiler

Needed for cutscene
0205 0852 unset
0801 0837 0838 0941 set
159:7
49:4640


changes made, by cutscene -> overworld legend (running from battle)
0205 Set
0852 Set
0837 unset
0: 0->2
15: 1->0
33: 0->4118
34: 0->8249


Nat dex: 0741 Set
VS Seeker received: 220: 1->2
Post game Shauna Traded: 0094 Set,

  • Like 1
Link to comment
Share on other sites

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...