Jump to content

johnsom

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by johnsom

  1. 2 minutes ago, Kaphotics said:

    You'd have to do a similar process to determine what flags need to be messed with for other events; have fun digging around the disassembly ;)

    Already on it lol.  Unchecking 773 and 774 have made Rayquaza reappear at Sky Pillar and he's sleeping, but can't be interacted with.  I'm really close lol.

  2. So I unchecked flag 448 (or 0x1C0) and all I get is just the rebattle with Rayquaza, which wasn't what I intended.  I wanted to replay the event that occurs there for him to fly away to Sootopolis.

  3. 29 minutes ago, Kaphotics said:

    Refer here.

     

    checkflag / setflag / clearflag do exactly what their names imply:

    checkflag: is flag set (on/off)

    setflag: sets the flag (on)

    clearflag: un-sets the flag (off)

     

    The script that Rayquaza uses should be obvious based of what is highlighted:

    
    SkyPillar_Top_EventScript_239722:: @ 8239722
    	lockall
    	waitse
    	playmoncry SPECIES_RAYQUAZA, 2
    	delay 40
    	waitmoncry
    	setwildbattle SPECIES_RAYQUAZA, 70, ITEM_NONE
    	setflag FLAG_SYS_CTRL_OBJ_DELETE
    	special BattleSetup_StartLegendaryBattle
    	waitstate
    	clearflag FLAG_SYS_CTRL_OBJ_DELETE
    	specialvar VAR_RESULT, sub_8138B80
    	compare VAR_RESULT, 1
    	goto_eq SkyPillar_Top_EventScript_239768
    	compare VAR_RESULT, 4
    	goto_eq SkyPillar_Top_EventScript_239771
    	compare VAR_RESULT, 5
    	goto_eq SkyPillar_Top_EventScript_239771
    	setflag FLAG_0x1C0
    	releaseall
    	end

    Flag 0x1C0 is set when you're done battling, hence preventing him from appearing further.

     

    If you search the name of the script, you can see which entity uses it.:

    https://github.com/pret/pokeemerald/blob/24f6484643ed3d7115fd4ebd92f254f224f1ca97/data/maps/SkyPillar_Top/events.inc#L3

    
    SkyPillar_Top_EventObjects: @ 8537170
    	object_event 1, EVENT_OBJ_GFX_RAYQUAZA_2, 0, 14, 7, 3, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, 0x0, 773
    	object_event 2, EVENT_OBJ_GFX_RAYQUAZA_1, 0, 14, 6, 3, MOVEMENT_TYPE_FACE_DOWN, 1, 1, 0, 0, SkyPillar_Top_EventScript_239722, 80

    If you look at the last parameter for the entity that uses the script (as already described here), it appears its spawn flag is 80d (0x050), this flag is used to hide the entity.

     

    Again, like the linked thread, play with the event flags (0x50 & 0x1C0) until you get a result.

    This wasn't what I was referring to.  In PKHex, I can't seem to find any real way of accessing that flag 0x1C0, which was what I wanted to know about.  PKHex doesn't use any letters in the Flag and Constant sections, only numbers 0-2399 fo Flag and 0-255 for Constant.

  4. On 6/29/2018 at 9:08 AM, paf said:

    thanks for the replies.I was offered a english mew from emerald from a friend and he said the he had gotten it from the way I explained above.also I saw in youtube a video teaching the way I posted above.that is why I had some doubts about the legality of english emerald mew.

    In all honesty, I think Nintendo snubbed a lot of "legal" things we should be able to do, such as Mew and Arceus.  I really don't mind the whole "legal" argument, but I would like to be at that point in time where Nintendo started correcting it's past mistakes.  Which we all know will never happen...

  5. The thing is, I haven't found anyone who knows the offsets in PKHex that alter the in game events.  I know editing the events is in PKHex, but there's no guide to it, plus the information I can find doesn't match up with how PKHex handles the constants.  This link, https://github.com/pret/pokeemerald/blob/eb65458b67412cc4fc01eb3a4fb1c37d88829b54/data/scripts/maps/SkyPillar_Top.inc#L31-L68 seems really good,but there's no explanation of what constants affect what.  It would be valuable to include a guide in how to affect the in game events.

  6. Have you found that script perchance?  I'm mainly interested in fixing the event with Rayquaza.  I found out battling Rayquaza in Pokemon Emerald when you first start the game causes the game to believe that the event has already happened later on when you are taken to the Cave of Origins to talk with Wallace, which causes you to be stuck with Groudon and Kyogre battling in Sootopolis with no way around it.

  7. I would like to bump this topic, since I'm really interested in this as well.  I found out battling Rayquaza in Pokemon Emerald when you first start the game causes the game to believe that the event has already happened later on when you are taken to the Cave of Origins to talk with Wallace, which causes you to be stuck with Groudon and Kyogre battling in Sootopolis with no way around it.

  8. On 7/16/2018 at 5:55 PM, theSLAYER said:

    Are you replying to the legit/legal definition statement, or what?

    My post relates to the premise that, just because it passes online Hack Checks, doesn't mean it's really legal or legit.

    Ignoring the recent errors from PKHeX, if you really got any Pokemon that's supposedly legitimate and has errors, upload them for us to see. We'll identify whether it's a bug or something else.

    Yes, I was actually referring to what you meant to say was legal/legitimate or not.  I have these three Pokemon to show.  Two are shiny as well, and I've already found out how to fix the errors that they have.

    250 ★ - HO-OH - FCBB3BC95539.pk4

    249 ★ - LUGIA - 6D383BC95539.pk4

    025 - PIKACHU - C87837FFFF7A.pk5

  9. On 10/21/2017 at 7:07 PM, theSLAYER said:

    Seriously No, that's not how it works.

    Legit refers to obtained via normal gameplay, without aid from external devices.  

    Legal can refer to hacking a Pokemon, to appear as tho it is received via normal gameplay.

    if it fails the checks as we described, it means it isn't obtained via normal gameplay, hence not legal.

    For example PID-IV-nature correlation is a thing in Gen 3 and 4, and how it is derived is based on the deep understanding of the RNG system, and how it transfers relevant values to Pokemon stats. 
    and if your pokemon's PID doesn't correlate, it means it wasn't captured in game and it's a bad hack, hence not legal.

    indeed, GameFreak may not care for it, and it might transfer up. But if you traded it to another person who can view the files, they'll know it's hacked, simply because the stats don't correlate correctly.

    I know you mean good, and you just wanna let OP know it's transferable and might not be too big a deal for personal gameplay, but please don't spread incorrect information :/

    I beg to differ on that.  I've obtained many legitimate Pokemon, such as Bagon using PokeRadar, and that error persists.  Actually, with most Pokeradar Pokemon it has that error, along with shiny legendary Pokemon like Latias and Latios, both static and roaming encounters, in HeartGold and SoulSilver.  Yes, all without cheating or editing in case you ask lol.

  10. Hi there.  I found this app and I wanted to let you know I managed to successfully convert a Mewtwo from my Red version to my FireRed version.  I had to make a few changes, but it's a legitimate Mewtwo as far as PKHex's legaliy checkers are concerned.  I basically loaded my Red version save into PKX Delta, clicked on Mewtwo, went to File --> Save As, dragged and dropped the pkm file into my FireRed save that was opened in PKHex, set Met Location as Cerulean Cave, Met At Lv. 70, used RNG Reporter to come up with a valid set of IVs, Nature, and PID, and saved my FireRed .sav.  I can actually start importing this Mewtwo into my gen four or later versions doing this method, so I really appreciate the time and effort you took to make a program like this.  I prefer executable programs over online ones because all it takes is for Nintendo to say, "Take it down!" and those online ones fall apart just like that, plus it's much faster when using an offline method too.  Thank you very much for your work.

  11. Hey there. umm.... I've found another glitch within the Rebattle Raikou/Entei, it causes the Red Gyarados to reappear at the Lake of Rage, and it causes Lance's and Murkrow's sprites to reappaer in the Team Rocket Hideout in Mahagony Town. And it also makes it to where you are prevented from going into the Safari Zone. is there any chance you could come up with a counter code for these errors?

  12. I've found something else on these threads that tugs my chain. Religious talk or any referment should be banned too, that is, not including PM's. Will you try to do something about this too please?

  13. Hello again Pokesav, or in this case, PKMN Database. I've found a pretty wierd error in a code I found for Diamond. I found that a rebattle code for Darkrai. But this code not only lets rebattle him, but it creates a glitch in the game. Do you think that this PokeMod might be able to fix this?

×
×
  • Create New...