FlagBrew / PKSM-Scripts

General purpose scripts to use with PKSM.
58 stars 14 forks source link

Key memory and stuff, for Pokemon W/B 2 #19

Open agnx93 opened 4 years ago

agnx93 commented 4 years ago

I would love to activate the extra features in those games, like having the memories and unlock those wild N's pokemons, or Activating Hard mode on White 2, without needing other 3ds with the games required.

If there is an option already, please illuminate me, I didn't find it myself.

Thanks and sorry if I'm bothering.

SpiredMoth commented 4 years ago

There's a script for the keys (Scripts > key-system.c), but nobody has implemented editing memories in PKSM yet

agnx93 commented 4 years ago

There's a script for the keys (Scripts > key-system.c), but nobody has implemented editing memories in PKSM yet

Its true that there is some key options like the city change, difficulty and what regi you got. I remember I tried it a while ago. And now I tried it again and remembered that I could not make it work.

I have a original cartridge of White 2, there is an specific step before I'm able to make it work? Always pop up some error. later will try to take a picture of it.

thanks for answering c:

RedNova25 commented 4 years ago

Last time I used key-system.c it didn't actually do anything but I used PKHeX to get around the problem. I wasn't sure if the script was broken or not.

SpiredMoth commented 4 years ago

The script does not switch the active feature to what key you obtain or location/mode you unlock. Those still have to be done from the menu option in-game.

If that wasn't the problem, then which option(s) did you try to use and what did you expect to happen?

RedNova25 commented 4 years ago

In Black 2 I tried to get the key for White Forest and this is the error I get:

2020-03-25_12-45-56 340_top 2020-03-25_12-46-12 730_bot

piepie62 commented 4 years ago

Hmph. That's the varargs picoC bug that we recently discovered. I'll add the workaround that we found, but I really should figure out why that's happening in the first place.

piepie62 commented 4 years ago

Actually, never mind. This issue seems to be resolved in recent commits (I can use said script with no issues), making me think it's not the varargs bug.

SpiredMoth commented 4 years ago

Looking more closely at that error message and the current script source code, this was fixed in recent commits. Specifically when you fixed a few sprintf errors in scripts

piepie62 commented 4 years ago

I'm going to move this over to PKSM-Scripts, as it fits better there. The issue with the key system script has been fixed, though.