terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GeneratePlanteraBulbOnAllMechsDefeated()

static bool Terraria.WorldGen.GeneratePlanteraBulbOnAllMechsDefeated ( )
inlinestatic

Definition at line 15566 of file WorldGen.cs.

15567 {
15568 while (32752 == 0)
15569 {
15570 }
15571 long num = 32752L;
15572 int underworldLayer = Main.UnderworldLayer;
15573 int num2 = 2500;
15574 if (num == 0L)
15575 {
15576 }
15577 int num3 = WorldGen.genRand.Next(-1717567488);
15578 UnifiedRandom genRand = WorldGen.genRand;
15579 long num4 = 0L;
15580 int num5 = genRand.Next(-1717567488);
15581 if (num == 0L)
15582 {
15583 }
15584 if (num == 0L)
15585 {
15586 }
15587 Tile tile;
15588 bool flag = tile.active();
15589 long num6 = 0L;
15590 if (num == 0L)
15591 {
15592 }
15593 bool flag3;
15594 bool flag2 = WorldGen.AttemptToGeneratePlanteraBulbAt(flag3 ? 1 : 0, (int)num6, num4 != 0L);
15595 if (num == 0L)
15596 {
15597 }
15598 bool flag4 = WorldGen.AttemptToGeneratePlanteraBulbAt(0, (int)num6, num4 != 0L);
15599 if (num == 0L)
15600 {
15601 }
15602 bool flag5 = WorldGen.AttemptToGeneratePlanteraBulbAt(0, (int)num6, num4 != 0L);
15603 while (num2 != 0)
15604 {
15605 }
15606 }
class f__AnonymousType0<< Count > j__TPar
static UnifiedRandom genRand
Definition WorldGen.cs:38

References Terraria.Tile.active(), Terraria.WorldGen.AttemptToGeneratePlanteraBulbAt(), Terraria.WorldGen.genRand, j__TPar, System.L, Terraria.Utilities.UnifiedRandom.Next(), and Terraria.Main.UnderworldLayer.