mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-14 20:30:01 -04:00
Rename a heap of light and brightness symbols
This commit is contained in:
+36
-36
@@ -943,14 +943,14 @@ u8 func1003_devicetraining_nightvision[] = {
|
||||
endloop(0x08)
|
||||
|
||||
label(0x81)
|
||||
set_lights_state(0x0030, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x002e, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x002f, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x0020, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x0024, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x0025, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x0026, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x0022, LIGHTOP_1, 0x00, 0x00, 0x00)
|
||||
set_lights_state(0x0030, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x002e, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x002f, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x0020, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x0024, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x0025, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x0026, LIGHTOP_SET, 0, 0, 0)
|
||||
set_lights_state(0x0022, LIGHTOP_SET, 0, 0, 0)
|
||||
set_stage_flag(STAGEFLAG_IN_TRAINING)
|
||||
lock_door(0x31, 0x40)
|
||||
lock_door(0x8a, 0x40)
|
||||
@@ -1022,14 +1022,14 @@ u8 func1003_devicetraining_nightvision[] = {
|
||||
label(0x2f)
|
||||
#if VERSION >= VERSION_NTSC_1_0
|
||||
play_sound(SFX_PRESS_SWITCH, -1)
|
||||
set_lights_state(0x0030, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x002e, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x002f, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0020, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0024, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0025, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0026, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0022, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0030, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x002e, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x002f, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0020, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0024, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0025, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0026, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0022, LIGHTOP_SET, 255, 0, 0)
|
||||
#endif
|
||||
remove_hudmsgs
|
||||
show_hudmsg(CHR_BOND, L_DISH_023) // "Lights have been reactivated."
|
||||
@@ -1048,14 +1048,14 @@ u8 func1003_devicetraining_nightvision[] = {
|
||||
set_savefile_flag(GAMEFILEFLAG_CI_NIGHTVISION_DONE)
|
||||
dprint 'd','o','n','e',0,
|
||||
set_stage_flag(STAGEFLAG_TRIGGER_DEVICE_SUCCESS)
|
||||
set_lights_state(0x0030, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x002e, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x002f, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0020, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0024, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0025, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0026, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0022, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0030, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x002e, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x002f, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0020, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0024, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0025, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0026, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0022, LIGHTOP_SET, 255, 0, 0)
|
||||
yield
|
||||
label(0x84)
|
||||
if_chr_in_room(CHR_BOND, 0x00, 0x001e, /*goto*/ 0x90)
|
||||
@@ -2788,14 +2788,14 @@ u8 func100e_training_unlockables[] = {
|
||||
endloop(0x0a)
|
||||
|
||||
label(0x2f)
|
||||
set_lights_state(0x0030, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x002e, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x002f, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0020, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0024, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0025, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0026, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0022, LIGHTOP_1, 0xff, 0x00, 0x00)
|
||||
set_lights_state(0x0030, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x002e, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x002f, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0020, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0024, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0025, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0026, LIGHTOP_SET, 255, 0, 0)
|
||||
set_lights_state(0x0022, LIGHTOP_SET, 255, 0, 0)
|
||||
|
||||
beginloop(0x0b)
|
||||
if_savefile_flag_is_set(GAMEFILEFLAG_CI_DOORDECODER_DONE, /*goto*/ 0x2f)
|
||||
@@ -6054,10 +6054,10 @@ s32 path00[] = {
|
||||
u8 func1032_setup_lifts[] = {
|
||||
activate_lift(1, 0x43)
|
||||
activate_lift(2, 0x44)
|
||||
set_lights_state(0x0007, LIGHTOP_1, 0x32, 0x00, 0x00)
|
||||
set_lights_state(0x0008, LIGHTOP_1, 0x32, 0x00, 0x00)
|
||||
set_lights_state(0x0009, LIGHTOP_1, 0x32, 0x00, 0x00)
|
||||
set_lights_state(0x000a, LIGHTOP_1, 0x19, 0x00, 0x00)
|
||||
set_lights_state(0x0007, LIGHTOP_SET, 50, 0, 0)
|
||||
set_lights_state(0x0008, LIGHTOP_SET, 50, 0, 0)
|
||||
set_lights_state(0x0009, LIGHTOP_SET, 50, 0, 0)
|
||||
set_lights_state(0x000a, LIGHTOP_SET, 25, 0, 0)
|
||||
set_ailist(CHR_SELF, GAILIST_IDLE)
|
||||
endlist
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user