Hacking Pokémon ORAS | Sango Plugin

  • Thread starter Thread starter Zetta_D
  • Start date Start date
  • Views Views 17,526
  • Replies Replies 135
  • Likes Likes 9

Attachments

If you have Discord, can you add me? It will be easier to debug it: zettad13_31566 x)
Otherwise, please run this and send me the new crash + the debug.txt file from the SD root, thx!
Post automatically merged:


I'm trying to debug this with the crash dumps, I can't test the plugin on an actual 3DS at the moment 😅
No problem, added you!
 
  • Like
Reactions: Zetta_D
I managed to add new abilities and moves into the game without replacing the existing ones x)
I'm going to see if it's possible to make other game extensions.


Post automatically merged:

I can also add new weathers now


 
Last edited by Zetta_D,
It is now possible to add new scripts to Pokémon x)



Example:
C++:
s.TalkStart();
s.Talk(u"Hi! You just arrived in Littleroot Town?\n"
       u"This script is written in C++, not in Pawn!");
s.ShowMessage(u"Do you want a random item for 1000 Pokédollars?");
const bool wants_item = s.AskYesNo();
const u32 amount = 1000;
if (wants_item) {
  if (s.GetMoney() < amount) {
    s.Talk(u"You don't have enough money!");
  } else {
    ItemId item = Utils::GetRandomItemId();
    if (s.CanGiveItem(item)) {
      s.SubMoney(amount);
      s.GiveItem(item);
      s.PlayJingle(kJingleItem);
      s.Talk(u"Here, take good care of it!");
    } else {
      s.Talk(u"Oh, your bag is full...");
    }
  }
} else {
  s.Talk(u"Suit yourself!");
}

s.Face(kTalkTarget, Facing::kLeft);
s.Wait(10);
s.Face(kTalkTarget, Facing::kRight);
s.Wait(10);
s.Face(kTalkTarget, (Facing)s.Call(s.GetNatives().PlayerGetReturnFacing));

s.Talk(u"See ya!");
s.TalkEnd();
 
  • Love
Reactions: TwistedTempest
I've finished my huge refactor of the Pokémon ORAS plugin source code, now I'm going to start porting it to the Kujira plugin for Pokémon XY.
1789596933719.png
 
Last edited by Zetta_D,
Code:
[SKIP TITLE SCREEN (Pokémon Alpha Sapphire v1.4)]
0033B588 E3A00000
0033B58C E5C4004E
0033B590 E3A00001
0033B594 E28DD094
0033B598 E8BD8FF0
 

Site & Scene News