Jump to content

Kaphotics

Helpful Member
  • Posts

    6886
  • Joined

  • Last visited

  • Days Won

    322

Everything posted by Kaphotics

  1. You said you edited it to Hydreigon. You made no mention of fixing its level >=64. Plus it doesn't help when I have nothing to reference; it's not on your account.
  2. You probably didn't change the level to be legal. Pokecheck is set up to try and find a valid encounter (place, and level), and when it fails it gives that message.
  3. Neat that it has Nasty Plot and Dark Pulse, two previously unobtainables (?) Official page on the event: http://www.pokemon.co.jp/info/2012/12/121210_g01.html
  4. Most likely to be >10 games without DQ, distributed to the PGL account once results are out.
  5. Those are scattered around in each map's script. There's no table.
  6. PokeGen does do it correctly. You just have to type the \ first. It will allow you to enter whatever 4 digits in place of a character. lol @ "I'm trying to beat Pokecheck and code legit Pokemon"
  7. they're going to be available in the entree forest, so there's no wondercards.
  8. More on Giving Items: Using Flags and more Subscripts! One of the cool things about B2W2 is that there's a bunch of built in secondary scripts you can call by using variables. For example, we'll look at a GiveItem script that goes beyond just giving an item; it's super easy to set an NPC up with this kind of script. A bit of background on the 0x001C command: The 0x001C command instructs the game to branch out to another script file to continue the event. By setting variables in the main script, the secondary script can then execute a common routine with ease. If you ever need to do the same kind of script again, you just call the script again! Basically it's a subfunction you can use at any time. The secondary script we'll be using is 0x0AF0; this script uses 7 defined variables to give one (+quantity) item, check and set a flag, and play 3 unique messages based on the flag setting. Example Script that uses 0x001C 0x0AF0: ===== Analyzing the script to use in a desired custom script: Here's the raw hex for a main script that calls 0x0AF0: Now a somewhat translated to readable via the Lua script: If you want this in a custom script, all you have to do is define your variables and call 0x0AF0 the same way the example script does. Be sure to define an item, quantity, flag, and the 3 text messages that are to used. The secondary script does the rest of the work for you! Just for kicks, here's the layout of 0x0AF0 so you can see how it works.
  9. >always crit code never happening. Just because you won't abuse it doesn't mean others won't. Plus, lol wondertomb?
  10. Garchomp (Japanese: ガブリアス Gaburias) is a dual-type Dragon/Ground pseudo-legendary Pokémon. It evolves from Gabite starting at level 48. It is the final form of Gible.
  11. [video=youtube;ncbJHL36FTQ] Uses 0x001C 0x0AF5 A little tutorial on how to edit the scripts and have a customized script in game with current tools. It's suggested that you read the first few posts of this thread to understand what certain commands are and how everything works via hex. If you want a list of what commands are currently known, the interpreter Lua script can be opened with notepad to see how each one works.
  12. I'm thinking that the group of 4 unused is for set move; currently the game just grabs the current level moves since none are special. I'd also think that one would set nationality similar to the HGSS Magicarp (Foppa). EVs might be in there too. Ability=3 would be rand(0,1) for ability, and 4 would be rand of all 3 abilities similar to how we've seen with wondercards. There might be a shiny prevention flag or a shiny always flag, too. No time for me to test all of this though It's pretty easy to edit with tinke by just swapping out each bin
  13. Yeah, it probably has some sort of flag in the script that says to accept any offer rather than the one required from the data.
  14. https://dl.dropbox.com/u/12206225/pporg/ingametrade.htm here's what I used to parse that data. https://dl.dropbox.com/u/12206225/pporg/ingametrade.xlsx >FF FF corresponds to random IV. Each piece of data is stored as 32 bits so it's pretty empty when it comes to meaningful information. I like to use HxD because it has other things like Checksum calculation etc.
  15. You have to "set" the pokemon you're editing back into the box.
  16. You were already answered. Plus, those are legit. He knows how to RNG and they're just a false positive because he purposefully RNG'd his ID/SID for that.
  17. Since Andi didn't give where that RAM was located in the memory (usually in dumps it starts at 0x00000000 rather than 0x02000000), I set out to find it in the RAM myself The string that Andi found is located in the RAM offset : 0x224C048 for the Tutor (edit: this location varies). scrcmd_shop.c is what is right before it, indicating that script command shop is what's being grabbed. As for the structure, it looks like u32 & u32 for Move and Shard Quantity. The script the shopkeeper uses WAS located at 224BC84 (again, it varies), which isn't the typical location for the main scripts. I'm now looking for what script file he's located in. For now, here's a barebones parse of what his script is: Script 1: 00000014 ~~~~~Script 1~~~~~~ SetVarEqVal (0x0028) Var_32 Num_0 SetVarEqVal (0x0028) Var_33 Num_0 SetVarEqVal (0x0028) Var_34 Num_0 SetVar29 (0x0029) Var_33 Var_0 SetVar29 (0x0029) Var_34 Var_1 Logic09 (0x0009) Var_34 Logic08 (0x0008) Num_0 Logic11 (0x0011) Num_5 IfThenGoTo (0x001F) 0xFF jump=0x0000000C Message1 (0x003C) MID=Num_4 NPC=32785 CompareAtoB (0x0019) A=Var_33 B=Num_246 IfThenGoTo (0x001F) 0x01 jump=0x0000002D CompareAtoB (0x0019) A=Var_33 B=Num_245 IfThenGoTo (0x001F) 0x01 jump=0x00000020 CompareAtoB (0x0019) A=Var_33 B=Num_244 IfThenGoTo (0x001F) 0x01 jump=0x00000013 CompareAtoB (0x0019) A=Var_33 B=Num_243 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x0000000C CallRoutine (0x0004) 0x000001DE GoTo (0x001E) jump=0x00000032 CompareAtoB (0x0019) A=Var_33 B=Num_254 IfThenGoTo (0x001F) 0x01 jump=0x00000013 CompareAtoB (0x0019) A=Var_33 B=Num_253 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x0000000C CallRoutine (0x0004) 0x00000153 GoTo (0x001E) jump=0x00000006 CallRoutine (0x0004) 0x00000002 EndStdReturn[**] (0x001D) 0x8023 0x0 SetVarEqVal (0x0028) Var_36 Num_0 SetVarEqVal (0x0028) Var_37 Num_0 Logic09 (0x0009) Var_34 Logic08 (0x0008) Num_2 Logic11 (0x0011) Num_1 IfThenGoTo (0x001F) 0xFF jump=0x00000012 Message1 (0x003C) MID=Num_1 NPC=32785 GoTo (0x001E) jump=0x0000000C Message1 (0x003C) MID=Num_0 NPC=32785 SetVarEqVal (0x0028) Var_36 Num_1 SetVarEqVal (0x0028) Var_37 Num_1 Logic09 (0x0009) Var_37 Logic08 (0x0008) Num_1 Logic11 (0x0011) Num_1 IfThenGoTo (0x001F) 0xFF jump=0x000000BF CompareAtoB (0x0019) A=Var_36 B=Num_0 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x00000018 Message1 (0x003C) MID=Num_2 NPC=32785 SetVarEqVal (0x0028) Var_36 Num_1 GoTo (0x001E) jump=0x0000008E CompareAtoB (0x0019) A=Var_36 B=Num_1 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x00000012 CallRoutine (0x0004) 0x00000112 SetVar29 (0x0029) Var_36 Var_32 GoTo (0x001E) jump=0x00000069 CompareAtoB (0x0019) A=Var_36 B=Num_2 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x00000012 CallRoutine (0x0004) 0x00000143 SetVar29 (0x0029) Var_36 Var_32 GoTo (0x001E) jump=0x00000044 CompareAtoB (0x0019) A=Var_36 B=Num_3 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x00000012 CallRoutine (0x0004) 0x0000015F SetVar29 (0x0029) Var_36 Var_32 GoTo (0x001E) jump=0x0000001F CompareAtoB (0x0019) A=Var_36 B=Num_255 IfThenGoTo (0x001F) 0x01 jump=0x00000006 GoTo (0x001E) jump=0x0000000C SetVarEqVal (0x0028) Var_37 Num_0 GoTo (0x001E) jump=0x00000000 GoTo (0x001E) jump=0xFFFFFF2E Message1 (0x003C) MID=Num_3 NPC=32785 WaitKeyPress (0x0032) CloseMessage (0x003E) SetVarEqVal (0x0028) Var_37 Num_0 SetVarEqVal (0x0028) Var_36 Num_0 SetVarEqVal (0x0028) Var_35 Num_0 End???[*TR] (0x0005) SetVarEqVal (0x0028) Var_38 Num_0 SetVarEqVal (0x0028) Var_39 Num_0 SetVarEqVal (0x0028) Var_40 Num_0 Message1 (0x003C) MID=Num_8 NPC=32785 PopYesNoVar (0x0047) Var_38 Logic09 (0x0009) Var_38 Logic08 (0x0008) Num_0 Logic11 (0x0011) Num_1 IfThenGoTo (0x001F) 0xFF jump=0x00000006 CallRoutine (0x0004) 0x0000008E Message1 (0x003C) MID=Num_9 NPC=32785 WaitKeyPress (0x0032) CloseMessage (0x003E) SetVarEqVal (0x0028) Var_40 Num_0 SetVarEqVal (0x0028) Var_39 Num_0 SetVarEqVal (0x0028) Var_38 Num_0 End???[*TR] (0x0005) SetVarEqVal (0x0028) Var_41 Num_0 CallRoutine (0x0004) 0x0000005E SetVarEqVal (0x0028) Var_41 Num_0 End???[*TR] (0x0005) SetVarEqVal (0x0028) Var_42 Num_0 ?????Multi2 (0x00B2) A=0x11F B=0x1 C=0x0 D=0x100 16=0x2A01 E=44928 ScriptText??? (0x00AF) A=Num_5 B=Var_16383 C=Num_2 ScriptText??? (0x00AF) A=Num_6 B=Var_16383 C=Num_3 ScriptText??? (0x00AF) A=Num_7 B=Var_16383 C=Num_255 ???? (0x0077) Logic09 (0x0009) Var_42 Logic08 (0x0008) Var_16382 Logic11 (0x0011) Num_1 IfThenGoTo (0x001F) 0xFF jump=0x0000000C SetVarEqVal (0x0028) Var_32 Num_255 GoTo (0x001E) jump=0x00000006 SetVar29 (0x0029) Var_32 Var_42 SetVarEqVal (0x0028) Var_42 Num_0 End???[*TR] (0x0005) SetVarEqVal (0x0028) Var_43 Num_0 SetVarEqVal (0x0028) Var_43 Num_1 CloseMessage (0x003E) 0x149 0x8021 0x802B Logic09 (0x0009) Var_43 Logic08 (0x0008) Num_0 Logic11 (0x0011) Num_1 IfThenGoTo (0x001F) 0xFF jump=0x0000000C SetVarEqVal (0x0028) Var_32 Num_255 GoTo (0x001E) jump=0x00000006 SetVarEqVal (0x0028) Var_32 Num_0 SetVarEqVal (0x0028) Var_43 Num_0 End???[*TR] (0x0005) SetVarEqVal (0x0028) Var_44 Num_0 SetVarEqVal (0x0028) Var_45 Num_0 0x1A4 0x1A7 CloseMessage (0x003E) 0x14B 0x14E 0x0 0x802C 0x802D 0x14A 0x1A3 0x1A7 Logic09 (0x0009) Var_44 Logic08 (0x0008) Num_0 Logic11 (0x0011) Num_1 IfThenGoTo (0x001F) 0xFF jump=0x0000000C SetVarEqVal (0x0028) Var_32 Num_255 GoTo (0x001E) jump=0x00000006 SetVarEqVal (0x0028) Var_32 Num_0 SetVarEqVal (0x0028) Var_45 Num_0 SetVarEqVal (0x0028) Var_44 Num_0 End???[*TR] (0x0005) SetVarEqVal (0x0028) Var_34 Num_0 SetVarEqVal (0x0028) Var_33 Num_0 0x0 0x5200 0x46 0x1800 ?????Multi2 (0x00B2) A=0x2800 B=0xA928 C=0x24A9 D=0x224 16=0x2 E=0 -- beyond here it errors out due to not all commands being known 0x0 CallRoutine (0x0004) 0x6373194D 0x6372 0x646D 0x735F 0x6F68 0x2E70 0x63 0xBE34 0xDA00 0x125 0xDFC5 0xBA84 0x7 0xF5 0x1 0x0 0xD 0x0 0x15 0x0 0x1E58 ??? (0x0227) A=Cont_10020 B=Num_546 0xDA24 0x221 0x3024 0x222 0x7124 0x222 0xAE24 0x222 0x183 0x0 End (0x0002) ~~~~~~Finish~~~~~~ 0x0 script returned but is still running registered functions script begins in scriptnarc @ 7CC78, corresponds to script file 6_1247. Depending on what tutor you talk to, the list that Andi gave will be different. No idea where the table is from though! Was able to change the move he gives out. Most likely the text of the menu is set within the script, but when selecting a move it loads the proper text.
  18. Nurse is a possible female player Trainer Class, in the "Restoring" section of the OP my example has a picture with a nurse player. Meh The one I suggested. This is because fabricating a trainer from the ground up is too much work (for me at least). The memory write AR code type would be the way of doing it.
  19. It's because >Region Unova (Black 2) >Hatched/Met Poké Transfer Lab Unknown encounter in the LA, did you perchance hatch it inside the lab for no good reason? There's no way to get an origin hex of B2W2 on a transferred mon. I checked the OT/ID/SID of your Dugtrio, and it matched a HG trainer of the same gender ~ it wasn't associated to any account [so it's private as well]. https://www.pokecheck.org/?p=search&tid=50462%2F210&notpub=1 This doesn't seem like it's Pokécheck's fault.
  20. B2/W2 Script Parser Reads the memory of the game and translates the script language to meaningful instructions similar to XSE and other scripting programs. I primarily made the script to help me see how commands are used and help further our understanding of each command. No, it does not make the scripts, only interprets the hex. Some examples of what it creates in the Console window: http://pastebin.com/raw.php?i=72nRf1aa http://pastebin.com/raw.php?i=fRBaRPkv http://pastebin.com/raw.php?i=gMRLPeuR http://pastebin.com/raw.php?i=TpgbtWnF To use it, the script file must be already loaded in game. Talk to an NPC that uses a script from the script file so that the game will have it loaded in the memory. Some locations don't work, I've only tested it indoors. I'll be updating it when I get time, school comes first Unknown/Un-programmed commands can throw off the parse so in general don't trust anything when it starts reporting hex.
  21. Why don't you just fill up every shop with a keeper, and then change their roles with an AR code? Much simpler that way. Use the method I posted to get a new pointer value for the code, then set the shop setting with the other part of the line. It's just simple math which can be done with a calculator or websites like Wolfram Alpha. 0x920 + 0x246AC + 0xB4 = XXXXX (helper 1), and choose the shop type.
  22. This Pokémon is missing DPPt hatch trash bytes. Not verified. It's still battle legal, but it wouldn't match a Torterra of legitimate origins. If you want to check your creations, you can use Pokecheck.org to check legality with.
  23. You have to select the right pallet (RLCN), then choose the right tileset (RGCN), then choose the right tile arrangement (RCSN). The arrangement is lower in the list and forms the actual image. If you're replacing the hero with Skyla and Skyla with the hero, you have to also change the Hero sprite. I briefly explained how in this post.
  24. edit: oh. derp I'm pretty sure IR-GTS can deliver 3gpkms to 4th gen over wifi. Then use PokeGen or Pokecheck to shift them.
×
×
  • Create New...