Exemplo n.º 1
0
 public FlagPairG1Detail(FlagPairG1 back, string name, bool[] ev, bool[] spawn)
 {
     Backing = back;
     Name    = name;
     Event   = ev;
     Spawn   = spawn;
 }
Exemplo n.º 2
0
    public G1OverworldSpawner(SAV1 sav)
    {
        SAV        = sav;
        EventFlags = sav.GetEventFlags();
        SpawnFlags = sav.EventSpawnFlags;
        bool yellow = SAV.Yellow;

        // FlagPairs set for Red/Blue when appropriate.
        FlagEevee       = new FlagPairG1(0x45);
        FlagAerodactyl  = new FlagPairG1(0x069, 0x34);
        FlagHitmonlee   = new FlagPairG1(0x356, 0x4A);
        FlagHitmonchan  = new FlagPairG1(0x357, 0x4B);
        FlagVoltorb_1   = new FlagPairG1(0x461, 0x4D);
        FlagVoltorb_2   = new FlagPairG1(0x462, 0x4E);
        FlagVoltorb_3   = new FlagPairG1(0x463, 0x4F);
        FlagElectrode_1 = new FlagPairG1(0x464, 0x50);
        FlagVoltorb_4   = new FlagPairG1(0x465, 0x51);
        FlagVoltorb_5   = new FlagPairG1(0x466, 0x52);
        FlagElectrode_2 = new FlagPairG1(0x467, 0x53);
        FlagVoltorb_6   = new FlagPairG1(0x468, 0x54);
        FlagZapdos      = new FlagPairG1(0x469, 0x55);
        FlagMoltres     = new FlagPairG1(0x53E, 0x5B);
        FlagKabuto      = new FlagPairG1(0x57E, 0x6D);
        FlagOmanyte     = new FlagPairG1(0x57F, 0x6E);
        FlagMewtwo      = new FlagPairG1(0x8C1, 0xD1);
        FlagArticuno    = new FlagPairG1(0x9DA, 0xE3);

        if (yellow) // slightly different
        {
            FlagKabuto     = new FlagPairG1(0x578, 0x6D);
            FlagAerodactyl = new FlagPairG1(0x069, 0x33);
            FlagMewtwo     = new FlagPairG1(0x8C1, 0xD7);
            FlagArticuno   = new FlagPairG1(0x9DA, 0xEB);
            FlagKabuto     = new FlagPairG1(0x57E, 0x6F);
            FlagOmanyte    = new FlagPairG1(0x57F, 0x70);

            FlagBulbasaur  = new FlagPairG1(0x0A8, 0x34);
            FlagSquirtle   = new FlagPairG1(0x147, 0); // Given by Officer Jenny after badged
            FlagCharmander = new FlagPairG1(0x54F, 0); // Given by Damian, doesn't despawn
        }
    }