2021-06-05 01:58:44 -07:00
|
|
|
/// @function scr_initialize();
|
|
|
|
|
|
|
|
//define global constants
|
|
|
|
#macro TEXT_LOADING -1
|
|
|
|
#macro TEXT_TYPING 0
|
|
|
|
#macro TEXT_READY 1
|
|
|
|
#macro EMOTE_NEUTRAL 0
|
|
|
|
#macro EMOTE_HAPPY 1
|
|
|
|
#macro EMOTE_SAD 2
|
|
|
|
#macro EMOTE_CONFUSED 3
|
|
|
|
#macro EMOTE_ANGRY 4
|
|
|
|
#macro EMOTE_OUCH 5
|
2021-06-06 01:19:04 -07:00
|
|
|
#macro LEFT_ACTOR 0
|
|
|
|
#macro RIGHT_ACTOR 1
|
2021-06-05 01:58:44 -07:00
|
|
|
|
2021-06-06 18:31:55 -07:00
|
|
|
#macro BOUNDARY_LEFT 32
|
|
|
|
#macro BOUNDARY_RIGHT 1248
|
2021-06-13 02:20:47 -07:00
|
|
|
#macro BOUNDARY_TOP 132
|
2021-06-14 03:06:50 -07:00
|
|
|
#macro BOUNDARY_BOTTOM 656
|
2021-06-07 01:52:09 -07:00
|
|
|
#macro SPAWN_X 120
|
|
|
|
#macro SPAWN_Y 360
|
2021-06-06 01:19:04 -07:00
|
|
|
|
|
|
|
#macro LEFT -1
|
2021-06-05 01:58:44 -07:00
|
|
|
#macro RIGHT 1
|
2021-06-06 01:19:04 -07:00
|
|
|
#macro TOP -1
|
|
|
|
#macro BOTTOM 1
|
2021-06-05 01:58:44 -07:00
|
|
|
#macro LIVES_INIT 3
|
|
|
|
#macro LIVES_MAX 5
|
|
|
|
#macro BOMBS_INIT 3
|
|
|
|
#macro BOMBS_MAX 5
|
|
|
|
#macro HYPER_INIT 0
|
|
|
|
#macro HYPER_COST 100
|
|
|
|
#macro HYPER_MAX 300
|
2021-06-11 04:39:22 -07:00
|
|
|
#macro DEATHBOMB_WINDOW 40
|
2021-06-07 01:52:09 -07:00
|
|
|
#macro RESPAWN_TIMER 60
|
|
|
|
#macro RESPAWN_INVULN 120
|
2021-06-05 01:58:44 -07:00
|
|
|
|
|
|
|
#macro FOCUS_SPEED 2
|
|
|
|
#macro UNFOC_SPEED 5
|
|
|
|
|
|
|
|
#macro HYPER_INACTIVE 0
|
|
|
|
#macro HYPER_TIER_1 1
|
|
|
|
#macro HYPER_TIER_2 2
|
|
|
|
#macro HYPER_TIER_3 3
|
|
|
|
|
2021-06-06 01:19:04 -07:00
|
|
|
#macro OPTION_FORWARD 100
|
|
|
|
#macro OPTION_SIDE_UNFOC 100
|
|
|
|
#macro OPTION_SIDE_FOCUS 20
|
|
|
|
|
2021-06-06 18:31:55 -07:00
|
|
|
#macro SHOT_DELAY 3
|
|
|
|
#macro SHOT_PLAYER_DAMAGE 5
|
|
|
|
#macro SHOT_PLAYER_SPEED 20
|
|
|
|
#macro SHOT_OPTION_DAMAGE 1
|
|
|
|
#macro SHOT_OPTION_SPEED 20
|
2021-06-05 01:58:44 -07:00
|
|
|
|
2021-06-07 22:27:44 -07:00
|
|
|
#macro PATTERN_STREAM 0
|
2021-06-11 04:39:22 -07:00
|
|
|
#macro PATTERN_AIMED_WAVE 1
|
2021-06-14 03:06:50 -07:00
|
|
|
#macro PATTERN_SHOTGUN 2
|
|
|
|
#macro PATTERN_LANE 3
|
|
|
|
#macro PATTERN_RANDOM_BURST 4
|
|
|
|
#macro PATTERN_RING 5
|
2021-06-11 04:39:22 -07:00
|
|
|
|
|
|
|
#macro MODE_APPROACH 0
|
|
|
|
#macro MODE_CHAT 1
|
|
|
|
#macro MODE_CHARGE 2
|
|
|
|
#macro MODE_ACTIVE 3
|
|
|
|
#macro BOSS_CHARGE_TIME 120
|
|
|
|
#macro BOSS_APPROACH_TIME 30
|
2021-06-07 22:27:44 -07:00
|
|
|
|
2021-06-05 01:58:44 -07:00
|
|
|
function scr_initialize() {
|
|
|
|
randomize();
|
|
|
|
}
|