Hacking Pokémon ORAS | Sango Plugin

  • Thread starter Thread starter Zetta_D
  • Start date Start date
  • Views Views 15,867
  • Replies Replies 126
  • 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();
 

Site & Scene News

Popular threads in this forum