Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "mix_mega.h"
- #include "constants/species.h"
- #include "constants/items.h"
- #include "constants/moves.h"
- #include "constants/abilities.h"
- #include "graphics.h"
- // mnm ROM data
- #include "data/mix_mega.h"
- u8 ItemIdToMegaStoneId(u16 item)
- {
- switch(item)
- {
- case ITEM_ABOMASITE ... ITEM_VENUSAURITE:
- return item - ITEM_ABOMASITE;
- case ITEM_BLUE_ORB:
- return ITEM_BLUE_ORB;
- case ITEM_RED_ORB:
- return ITEM_RED_ORB;
- case ITEM_DAWN_NECRITE:
- return STONE_DAWN_NECRITE;
- case ITEM_DUSK_NECRITE:
- return STONE_DUSK_NECRITE;
- case ITEM_CRUCIBELLITE:
- return STONE_CRUCIBELLITE;
- }
- return STONES_COUNT;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement