private void Initialize() { Blocks = BlockInfoNDS.BlocksB2W2; Personal = PersonalTable.B2W2; Items = new MyItem5B2W2(this, 0x18400); BattleBox = 0x20900; Trainer2 = 0x21100; EventConst = 0x1FF00; EventFlag = EventConst + 0x35E; Daycare = 0x20D00; PokeDex = 0x21400; PokeDexLanguageFlags = 0x328; // forme flags size is + 8 from bw with new formes (therians) BattleSubway = 0x21B00; CGearInfoOffset = 0x1C000; CGearDataOffset = 0x52800; EntreeForestOffset = 0x22A00; Zukan = new Zukan5(this, PokeDex, PokeDexLanguageFlags); DaycareBlock = new Daycare5(this, Daycare); MiscBlock = new Misc5(this, Trainer2); PWTBlock = new PWTBlock5(this, 0x23700); DaycareBlock = new Daycare5(this, Daycare); BattleSubwayBlock = new BattleSubway5(this, BattleSubway); }
private void Initialize() { Blocks = BlockInfoNDS.BlocksBW; Personal = PersonalTable.BW; Items = new MyItem5BW(this, 0x18400); BattleBox = 0x20A00; Trainer2 = 0x21200; EventConst = 0x20100; EventFlag = EventConst + 0x27C; Daycare = 0x20E00; PokeDex = 0x21600; PokeDexLanguageFlags = PokeDex + 0x320; BattleSubway = 0x21D00; CGearInfoOffset = 0x1C000; CGearDataOffset = 0x52000; EntreeForestOffset = 0x22C00; MiscBlock = new Misc5(this, Trainer2); Zukan = new Zukan5(this, PokeDex, PokeDexLanguageFlags); DaycareBlock = new Daycare5(this, Daycare); BattleSubwayBlock = new BattleSubway5(this, BattleSubway); // Inventory offsets are the same for each game. }