sotn-decomp/config/symbols.us.stcen.txt
bismurphy 33b6bfff4f
Decompile ST0 func_801BA7D8 (#515)
This is an unknown function. I don't know what it does. It is duplicated
across most overlays. It is called in CollectGold, EntityEquipItemDrop,
and TestCollisions.

It seems to take in a string, and then do a bunch of things with
primitives, but I don't know what. We don't directly reference that
array, we only read and write to it based on a pointer which moves
through the array. I tried to remove the pointer but didn't get
anywhere.

Fully-matching scratch is here: https://decomp.me/scratch/UV2K2

I am starting with only this one version of the function, so that if
changes need to be made (variable names, control flow, etc), I can
update them once here, and then copy them to the other places, instead
of making changes in every place. Once we are happy with the state of
this function, I will add the duplicates to this PR prior to merging.

---------

Co-authored-by: bismurphy <bismurphy@users.noreply.github.com>
2023-08-26 18:30:57 -07:00

63 lines
1.9 KiB
Plaintext

g_SpriteBanks = 0x80180040;
PfnEntityUpdates = 0x80180394;
g_InitializeData0 = 0x80180410;
g_InitializeEntityData0 = 0x8018041C;
UNK_Invincibility0 = 0x801807B8;
c_GoldPrizes = 0x80180F58;
g_Rooms = 0x801812D4;
EntityBackgroundBlock = 0x8018D600;
EntityUnkId12 = 0x8018D6E0;
EntityUnkId01 = 0x8018D89C;
EntityUnkId16 = 0x8018E7C8;
EntityPlatform = 0x8018F95C;
EntityRoomDarkness = 0x8019007C;
EntityMaria = 0x80190374;
EntityElevatorStationary = 0x80190540;
EntityUnkId1B = 0x80190A78;
EntityMovingElevator = 0x80190B64;
Random = 0x80190E4C;
Update = 0x80190E7C;
UpdateStageEntities = 0x80191178;
TestCollisions = 0x80191280;
EntityNumericDamage = 0x80192398;
CreateEntityFromLayout = 0x80192A3C;
CreateEntityWhenInVerticalRange = 0x80192B00;
CreateEntityWhenInHorizontalRange = 0x80192C18;
InitRoomEntities = 0x80193298;
CreateEntityFromCurrentEntity = 0x801934C4;
CreateEntityFromEntity = 0x80193538;
EntityRedDoor = 0x8019362C;
DestroyEntity = 0x80194264;
PreventEntityFromRespawning = 0x8019434C;
GetDistanceToPlayerX = 0x80194564;
GetDistanceToPlayerY = 0x801945A0;
GetSideToPlayer = 0x801945D4;
MoveEntity = 0x80194618;
FallEntity = 0x80194648;
AllocEntity = 0x80194AD4;
UnkEntityFunc0 = 0x80194D08;
SetStep = 0x80194EA4;
InitializeEntity = 0x80194F74;
CollectHeart = 0x801958F4;
CollectGold = 0x80195974;
CollectSubweapon = 0x80195A50;
EntityPrizeDrop = 0x80195C84;
EntityExplosion = 0x801964F8;
EntityEquipItemDrop = 0x80196698;
EntityRelicOrb = 0x80196F30;
EntityHeartDrop = 0x80197A00;
EntityUnkId0E = 0x80197B28;
EntityUnkId13 = 0x80198174;
EntityExplosion14 = 0x8019849C;
EntityUnkId15 = 0x8019858C;
EntityIntenseExplosion = 0x80198F2C;
ClutLerp = 0x8019A130;
EntityStageNamePopup = 0x8019A5F0;
EntitySoulStealOrb = 0x8019B274;
EntityEnemyBlood = 0x8019B608;
EntityUnkId08 = 0x8019BAB8;
BottomCornerText = 0x8019BBA4;
UnkPolyFunc0 = 0x8019C674;
UnkLoopFunc = 0x8019C6A0;
UNK_Update0 = 0x8019D42C;