mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-27 15:00:36 +00:00
f46153da0c
The former g_BlinkTimer continues running during pauses, and may be used for more things than just blinks, so it will now be g_Timer. A previously unidentified variable is a timer which only runs when the main game is running (when things are unpaused). When loading a save, it starts as zero. It does not restart when doing things like entering a new area in the game. This will be called g_GameTimer, since it's the timer that only runs when in-game. It appears to increment once per frame. I have renamed these, changed every instance in which they are used, and also cleaned up a few instances I found where we had patterns like `if((variable / value) * value == variable)`, which equates to `if(variable % value == 0)` which I think makes much more sense. I'm not sure if I found all those cases, but at least I found a few.
102 lines
2.8 KiB
Plaintext
102 lines
2.8 KiB
Plaintext
LoadTPage = 0x8001112C;
|
|
GetClut = 0x80011DEC;
|
|
ClearImage = 0x80012A90;
|
|
LoadImage = 0x80012B24;
|
|
rand = 0x800160E4;
|
|
rsin = 0x80016C9C;
|
|
rcos = 0x80016D68;
|
|
RotTransPers4 = 0x8001833C;
|
|
ratan2 = 0x800190AC;
|
|
D_8003BEEC = 0x8003BEE8;
|
|
D_8003BF7C = 0x8003BF08;
|
|
D_8003C104 = 0x8003C000;
|
|
g_api = 0x8003C670;
|
|
g_api_FreePrimitives = 0x8003C6B0;
|
|
g_api_AllocPrimitives = 0x8003C6B4;
|
|
g_api_CheckCollision = 0x8003C6B8;
|
|
g_api_func_80102CD8 = 0x8003C6BC;
|
|
g_api_PlaySfx = 0x8003C6D8;
|
|
g_api_func_800EDB58 = 0x8003C6DC;
|
|
g_api_func_80106A28 = 0x8003C6FC;
|
|
g_api_enemyDefs = 0x8003C704;
|
|
g_api_func_8010E168 = 0x8003C71C;
|
|
g_api_func_8010DFF0 = 0x8003C720;
|
|
g_api_DealDamage = 0x8003C724;
|
|
g_api_LoadEquipIcon = 0x8003C728;
|
|
g_api_equipDefs = 0x8003C72C;
|
|
g_api_g_AccessoryDefs = 0x8003C730;
|
|
g_api_func_800FE044 = 0x8003C744;
|
|
g_api_AddToInventory = 0x8003C748;
|
|
g_api_relicDefs = 0x8003C74C;
|
|
g_api_func_80134714 = 0x8003C754;
|
|
g_api_CheckEquipmentItemCount = 0x8003C760;
|
|
g_api_func_8010BF64 = 0x8003C764;
|
|
g_GameTimer = 0x8003C780;
|
|
g_CurrentEntity = 0x8006C26C;
|
|
g_Clut = 0x8006C680;
|
|
g_Player = 0x80072684;
|
|
g_Player_D_80072EF4 = 0x800729A8;
|
|
g_Player_D_80072EFC = 0x800729B0;
|
|
g_Player_pl_vram_flag = 0x800729D4;
|
|
g_Player_unk0C = 0x800729E0;
|
|
g_Player_unk10 = 0x800729E4;
|
|
D_80072F76 = 0x80072A2A;
|
|
D_80072F78 = 0x80072A2C;
|
|
g_CurrentRoomTileLayout = 0x80072B34;
|
|
g_Camera = 0x80072B3C;
|
|
g_Camera_posX_i_hi = 0x80072B3E;
|
|
g_Camera_posY_i_hi = 0x80072B42;
|
|
g_CurrentRoom = 0x80072B50;
|
|
g_CurrentRoom_vSize = 0x80072B58;
|
|
g_CurrentRoom_x = 0x80072B70;
|
|
g_CurrentRoom_y = 0x80072B74;
|
|
g_CurrentRoom_width = 0x80072B78;
|
|
g_CurrentRoom_height = 0x80072B7C;
|
|
g_Entities = 0x80072E88;
|
|
D_800733DA = 0x80072E8A;
|
|
D_800733DC = 0x80072E8C;
|
|
D_800733DE = 0x80072E8E;
|
|
D_800733E4 = 0x80072E94;
|
|
D_800733FC = 0x80072EAC;
|
|
D_80073412 = 0x80072EC2;
|
|
D_80073420 = 0x80072ED0;
|
|
D_80073490 = 0x80072F40;
|
|
D_80073494 = 0x80072F44;
|
|
D_80075718 = 0x800751C8;
|
|
g_Entities_STAGE_ENTITY_START = 0x80075D88;
|
|
D_8007A958 = 0x8007A408;
|
|
D_8007C0D8 = 0x8007BB88;
|
|
D_8007D858 = 0x8007D308;
|
|
D_8007EF1C = 0x8007E9CC;
|
|
g_EvHwCardEnd = 0x8007EA88;
|
|
g_PrimBuf = 0x80086A9C;
|
|
D_8008700C = 0x80086ABC;
|
|
D_8008701E = 0x80086ACE;
|
|
D_800973F8 = 0x80096EA8;
|
|
D_800973FC = 0x80096EAC;
|
|
g_zEntityCenter = 0x80096EB8;
|
|
g_BottomCornerTextTimer = 0x80096EC0;
|
|
g_BottomCornerTextPrims = 0x80096EC4;
|
|
g_entityDestroyed = 0x80096ED8;
|
|
D_8009748A = 0x80096F3A;
|
|
D_8009748E = 0x80096F3E;
|
|
g_pads = 0x80096F40;
|
|
g_randomNext = 0x80097364;
|
|
D_80097908 = 0x800973B4;
|
|
D_8009790C = 0x800973B8;
|
|
g_Status = 0x80097410;
|
|
D_8009796F = 0x8009741B;
|
|
D_80097973 = 0x8009741F;
|
|
g_Status_hearts = 0x80097654;
|
|
g_Status_heartsMax = 0x80097658;
|
|
g_Status_gold = 0x8009769C;
|
|
g_Status_killCount = 0x800976A0;
|
|
subWeapon = 0x800976A8;
|
|
g_Timer = 0x8003C854;
|
|
|
|
D_8003BE1E_mad = 0x8003BE1E;
|
|
D_8003BF28_mad = 0x8003BF28;
|
|
D_80072E9C_mad = 0x80072E9C;
|
|
D_80072EB4_mad = 0x80072EB4;
|
|
D_80096ED0_mad = 0x80096ED0;
|