touhou-pride-jam-2021/thpj3/scripts/scr_initialize/scr_initialize.gml

89 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

/// @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-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
#macro BOUNDARY_BOTTOM 656
#macro SPAWN_X 120
#macro SPAWN_Y 360
2021-06-06 01:19:04 -07:00
#macro LEFT -1
#macro RIGHT 1
2021-06-06 01:19:04 -07:00
#macro TOP -1
#macro BOTTOM 1
#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
#macro RESPAWN_TIMER 60
#macro RESPAWN_INVULN 120
#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-07 22:27:44 -07:00
#macro PATTERN_STREAM 0
2021-06-11 04:39:22 -07:00
#macro PATTERN_AIMED_WAVE 1
#macro PATTERN_SHOTGUN 2
#macro PATTERN_LANE 3
#macro PATTERN_RANDOM_BURST 4
#macro PATTERN_RING 5
#macro PATTERN_RANDOM_RING 6
#macro PATTERN_HORIZ_WALL 7
#macro PATTERN_VERT_WALL 8
#macro PATTERN_RANDOM_SPRAY 9
#macro PATTERN_LANE_RING 10
#macro PATTERN_SHOTGUN_RING 11
#macro PATTERN_STREAM_RING 12
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
#macro SCORE_READ 0
#macro SCORE_WRITE 1
#macro SCORE_INIT 2
#macro SCORE_ZERO 0
#macro SCORE_BULLET_VALUE 100
#macro SCORE_ENEMY_VALUE 10000
#macro SCORE_GRAZE_VALUE 10
function scr_initialize() {
randomize();
scr_scores( SCORE_INIT );
}