The default Emerald pickup in a Sealed Star is a fake SA2 yellow-gold Chaos Emerald

Minimal effort disambiguation for a Sealed Star's Page 2/3 rematch from its Page 1 canon appearance, without also repeating the green Chaos Emerald.
This commit is contained in:
toaster 2024-04-11 20:11:25 +01:00
parent a27c41b23d
commit 536840485b
2 changed files with 10 additions and 3 deletions

View file

@ -641,12 +641,15 @@ void podiumData_s::Draw(void)
if (emeraldNum == 0) if (emeraldNum == 0)
{ {
emeraldPatch = static_cast<patch_t*>( W_CachePatchName("K_BLNA", PU_CACHE) ); // Prize -- todo, currently using fake Emerald
emeraldColor = SKINCOLOR_GOLD;
} }
else else
{ {
emeraldColor = static_cast<skincolornum_t>( SKINCOLOR_CHAOSEMERALD1 + ((emeraldNum - 1) % 7) ); emeraldColor = static_cast<skincolornum_t>( SKINCOLOR_CHAOSEMERALD1 + ((emeraldNum - 1) % 7) );
}
{
std::string emeraldName; std::string emeraldName;
if (emeraldNum > 7) if (emeraldNum > 7)
{ {
@ -854,12 +857,15 @@ void podiumData_s::Draw(void)
if (emeraldNum == 0) if (emeraldNum == 0)
{ {
emeraldOverlay = static_cast<patch_t*>( W_CachePatchName("KBLNC0", PU_CACHE) ); // Prize -- todo, currently using fake Emerald
emeraldColor = SKINCOLOR_GOLD;
} }
else else
{ {
emeraldColor = static_cast<skincolornum_t>( SKINCOLOR_CHAOSEMERALD1 + ((emeraldNum - 1) % 7) ); emeraldColor = static_cast<skincolornum_t>( SKINCOLOR_CHAOSEMERALD1 + ((emeraldNum - 1) % 7) );
}
{
if (emeraldNum > 7) if (emeraldNum > 7)
{ {
emeraldOverlay = static_cast<patch_t*>( W_CachePatchName("SEMRA0", PU_CACHE) ); emeraldOverlay = static_cast<patch_t*>( W_CachePatchName("SEMRA0", PU_CACHE) );

View file

@ -1244,9 +1244,10 @@ static mobj_t *InitSpecialUFO(waypoint_t *start)
} }
else else
{ {
// Prize -- todo, currently using standard Emerald // Prize -- todo, currently using fake Emerald
P_SetMobjState(emerald, S_CHAOSEMERALD1); P_SetMobjState(emerald, S_CHAOSEMERALD1);
P_SetMobjState(overlay, S_CHAOSEMERALD_UNDER); P_SetMobjState(overlay, S_CHAOSEMERALD_UNDER);
emerald->color = SKINCOLOR_GOLD;
} }
P_SetTarget(&emerald->target, ufo); P_SetTarget(&emerald->target, ufo);