Ejemplo n.º 1
0
    public static void Execute(this GscStrat strat, Gsc gb)
    {
        switch (strat)
        {
        case GscStrat.GfSkip:
            gb.Hold(Joypad.Start, "GetJoypad");
            gb.Press(Joypad.Start);
            break;

        case GscStrat.TitleSkip:
            gb.Press(Joypad.Start);
            break;

        case GscStrat.MmBack:
            gb.Press(Joypad.B, Joypad.Start);
            break;

        case GscStrat.Continue:
            gb.Press(Joypad.A);
            break;

        case GscStrat.FsBack:
            gb.Press(Joypad.B);
            break;
        }
    }
Ejemplo n.º 2
0
 public static GscPokemon Textboxes(Gsc gb)
 {
     gb.InjectOverworld(Joypad.A);
     gb.AdvanceFrame(Joypad.A);
     gb.Press(Joypad.B);
     gb.ClearText(Joypad.B);
     gb.Press(Joypad.A);
     gb.ClearText(Joypad.B, 3);
     gb.Hold(Joypad.B, "CalcMonStats");
     return(gb.PartyMon1);
 }