Hacking Pokémon ORAS | Sango Plugin

  • Thread starter Thread starter Zetta_D
  • Start date Start date
  • Views Views 17,696
  • Replies Replies 136
  • 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
 
Code:
[SKIP TITLE SCREEN (Pokémon Alpha Sapphire v1.4)]
0033B588 E3A00000
0033B58C E5C4004E
0033B590 E3A00001
0033B594 E28DD094
0033B598 E8BD8FF0
 
I just added the Pokémon Emerald Battle Factory to ORAS.You pick 3 of 6 random level-50 rental Pokémon, built competitively (EVs, natures, good items, STAB and coverage moves, Mega Stones). Then you fight a streak of single battles against random trainers with random rental teams and the strongest AI. Items are banned. After each win you may swap one Pokémon with the opponent's, then continue or quit. Your streak ends when you lose, and your real team is restored.

 

Site & Scene News