80 lines
2.0 KiB
Plaintext
80 lines
2.0 KiB
Plaintext
|
//Custom events
|
||
|
|
||
|
const EV_START_MUSIC = EV_USER + 411i;
|
||
|
const EV_BOSS_MUSIC = EV_USER + 412i;
|
||
|
|
||
|
const EV_DROP_POINT_ENEMY = EV_USER + 200i;
|
||
|
const EV_DROP_PIV_ENEMY = EV_USER + 201i;
|
||
|
const EV_SINGLE_ITEM_DROP = EV_USER + 202i;
|
||
|
const EV_DROP_EXTEND = EV_USER + 203i;
|
||
|
const EV_DROP_AMMO_ENEMY = EV_USER + 204i;
|
||
|
|
||
|
const EV_EXPLODE = EV_USER + 300i;
|
||
|
|
||
|
// Chain events
|
||
|
|
||
|
const EV_CHAIN_MAX = EV_USER + 301i; // Play sound effect when chain is max
|
||
|
const EV_CHAIN_RELEASE = EV_USER + 302i; // Make enemies drop golden point items when chain is cashed in
|
||
|
const EV_CHAIN_END = EV_USER + 303i; // End/reset chain when gauge goes to 0
|
||
|
const CHAIN_MAX = 64;
|
||
|
|
||
|
// Card shop events
|
||
|
|
||
|
const EV_SHOP_CALL = EV_USER + 400i; // Call shop (in stage)
|
||
|
const EV_SHOP_OPEN = EV_USER + 401i; // Request to open shop (in player script) when CALL is notified
|
||
|
const EV_SHOP_GAIN = EV_USER + 402i; // Shop is opened in package. Afterwards, add ability via notifying this event (in player script)
|
||
|
|
||
|
// Convenience constants
|
||
|
|
||
|
const STG_WIDTH = GetStgFrameWidth();
|
||
|
const STG_HEIGHT = GetStgFrameHeight();
|
||
|
|
||
|
// Card names
|
||
|
|
||
|
const CARD_NAMES =
|
||
|
[
|
||
|
// Shop 1
|
||
|
|
||
|
"Hitchcock Birds",
|
||
|
"Turtle Cannon",
|
||
|
"Phoenix Feather",
|
||
|
"Devil's Crown",
|
||
|
|
||
|
// Shop 2
|
||
|
|
||
|
"Irresistible Demand",
|
||
|
"Danmaku Catcher",
|
||
|
"Mango Jam",
|
||
|
"Cucumber Jam",
|
||
|
|
||
|
// Shop 3
|
||
|
|
||
|
"K*taka Fried Chicken",
|
||
|
"Magic Absorber",
|
||
|
"Warrior's Breastplate",
|
||
|
"20/20 Goggles",
|
||
|
|
||
|
// Shop 4
|
||
|
|
||
|
"Fossil Spear",
|
||
|
"Oni's Cursed Gourd",
|
||
|
"Bee-Powered Laser",
|
||
|
"Radiant Warrior",
|
||
|
|
||
|
// Final Shop
|
||
|
|
||
|
"Blacksmith's Offer",
|
||
|
"Potionmaker's Mist",
|
||
|
"Marketeer's Rainbow"
|
||
|
|
||
|
];
|
||
|
|
||
|
// Misc
|
||
|
|
||
|
const EFFECTCUT_PTR = LoadAreaCommonDataValuePointer("Config", "EffectCut", 0);
|
||
|
|
||
|
const ITEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "ItemID", 0);
|
||
|
const SYSTEMID_PTR = LoadAreaCommonDataValuePointer("ScriptID", "SystemID", 0);
|
||
|
|
||
|
const FLYINGENM_PTR = LoadCommonDataValuePointer("Flying Defeated", 0);
|
||
|
const GROUNDENM_PTR = LoadCommonDataValuePointer("Ground Defeated", 0);
|