Beispiel #1
0
    public void ExecuteUntilIGT(Gsc gb)
    {
        gb.HardReset(false);
        gb.Hold(Joypad.Left, 0x100);

        foreach (GscStrat strat in this)
        {
            strat.Execute(gb);
        }

        gb.Hold(Joypad.Left, "GetJoypad");
        gb.AdvanceFrames(Delay + 1, Joypad.Left);
    }
Beispiel #2
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;
        }
    }
Beispiel #3
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);
 }
Beispiel #4
0
 public void ExecuteAfterIGT(Gsc gb)
 {
     gb.Hold(Joypad.A, "OWPlayerInput");
 }