Elin Modding Docs Doc
Loading...
Searching...
No Matches
HoardActor.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Runtime.CompilerServices;
5using UnityEngine;
6
7// Token: 0x02000516 RID: 1302
8public class HoardActor : EMono
9{
10 // Token: 0x17000B11 RID: 2833
11 // (get) Token: 0x060022F5 RID: 8949 RVA: 0x000C3BD1 File Offset: 0x000C1DD1
12 public Hoard hoard
13 {
14 get
15 {
16 return EMono.player.hoard;
17 }
18 }
19
20 // Token: 0x17000B12 RID: 2834
21 // (get) Token: 0x060022F6 RID: 8950 RVA: 0x000C3BDD File Offset: 0x000C1DDD
22 public HoardActor.BG bg
23 {
24 get
25 {
26 return this.bgs[this.hoard.bg];
27 }
28 }
29
30 // Token: 0x060022F7 RID: 8951 RVA: 0x000C3BF4 File Offset: 0x000C1DF4
31 public void Activate()
32 {
33 this.passShadow.Init();
34 this.hoard.score = 0;
35 this.RefreshBG();
36 this.RefreshZoom();
37 RigidUpdate.leftX = -5f;
38 RigidUpdate.rightX = 5f;
39 if (this.actors.Count > 0)
40 {
41 this.Clear();
42 }
43 this.angryEhe = (EMono.rnd(2) == 0);
44 Vector3 zero = Vector3.zero;
45 int num = 0;
46 foreach (Hoard.Item item in this.hoard.items.Values)
47 {
48 num += item.show;
49 }
50 IEnumerable<Hoard.Item> enumerable = new List<Hoard.Item>(this.hoard.items.Values).Shuffle<Hoard.Item>();
51 string b = this.hoard.mode.ToString();
52 foreach (Hoard.Item item2 in enumerable)
53 {
54 string filter = item2.Source.filter;
55 if (this.hoard.mode == Hoard.Mode.all || filter.IsEmpty() || !(filter != b))
56 {
57 bool flag = item2.Source.tag.Contains("god");
58 int num2 = item2.show;
59 if (item2.random)
60 {
61 num2 = Rand.rnd(num2 + 1);
62 if (num2 > 2 && num2 < 50)
63 {
64 num2 = Rand.rnd(num2 + 1) + 1;
65 }
66 }
67 if (num2 != 0)
68 {
69 GameObject actor = this.hoard.GetActor(item2.id);
70 CollectibleActor component = actor.GetComponent<CollectibleActor>();
71 SpriteRenderer component2 = actor.GetComponent<SpriteRenderer>();
72 Vector3 extents = component2.bounds.extents;
73 int num3 = (int)(extents.x * extents.y * 10f);
74 if (num3 > 5)
75 {
76 num3 = 5;
77 }
78 float y = extents.y;
79 float z = flag ? -0.1f : 0f;
80 bool hasSound = !item2.Source.sound.IsEmpty();
81 if (this.debug)
82 {
83 string id = item2.id;
84 string str = "/";
85 Vector3 vector = extents;
86 Debug.Log(id + str + vector.ToString());
87 }
88 float num4 = Mathf.Sqrt(actor.GetComponent<Rigidbody2D>().mass);
89 if (num4 < 0.7f)
90 {
91 num4 = 0.7f;
92 }
93 BoxCollider2D component3 = actor.GetComponent<BoxCollider2D>();
94 if (component3)
95 {
96 component3.size = extents * this.sizeMod;
97 }
98 else
99 {
100 actor.GetComponent<CircleCollider2D>().radius = (extents.x + extents.y) * this.sizeModCircle * this.sizeModCircle;
101 }
102 string id2 = item2.id;
103 uint num5 = <PrivateImplementationDetails>.ComputeStringHash(id2);
104 if (num5 <= 2580362002U)
105 {
106 if (num5 <= 1166849410U)
107 {
108 if (num5 <= 622086627U)
109 {
110 if (num5 != 595338019U)
111 {
112 if (num5 != 622086627U)
113 {
114 goto IL_687;
115 }
116 if (!(id2 == "renton"))
117 {
118 goto IL_687;
119 }
120 this.renton = component;
121 if (!this.angryEhe)
122 {
123 Util.Instantiate<SpriteRenderer>("UI/Layer/Hoard/Effect/sister", component);
124 component.paired = true;
125 this.MakeSteady(component);
126 goto IL_687;
127 }
128 goto IL_687;
129 }
130 else if (!(id2 == "mine_dog"))
131 {
132 goto IL_687;
133 }
134 }
135 else if (num5 != 1111712579U)
136 {
137 if (num5 != 1166849410U)
138 {
139 goto IL_687;
140 }
141 if (!(id2 == "hat_magic"))
142 {
143 goto IL_687;
144 }
145 goto IL_67F;
146 }
147 else
148 {
149 if (!(id2 == "tentacle"))
150 {
151 goto IL_687;
152 }
153 goto IL_676;
154 }
155 }
156 else if (num5 <= 2122968502U)
157 {
158 if (num5 != 1891070888U)
159 {
160 if (num5 != 2122968502U)
161 {
162 goto IL_687;
163 }
164 if (!(id2 == "mine"))
165 {
166 goto IL_687;
167 }
168 }
169 else
170 {
171 if (!(id2 == "bat"))
172 {
173 goto IL_687;
174 }
175 goto IL_67F;
176 }
177 }
178 else if (num5 != 2273286343U)
179 {
180 if (num5 != 2580362002U)
181 {
182 goto IL_687;
183 }
184 if (!(id2 == "mine_rock"))
185 {
186 goto IL_687;
187 }
188 }
189 else
190 {
191 if (!(id2 == "ehe"))
192 {
193 goto IL_687;
194 }
195 this.ehe = component;
196 goto IL_687;
197 }
198 actor.AddComponent<RigidExplode>().particle = this.psExplode;
199 }
200 else if (num5 <= 3274701990U)
201 {
202 if (num5 <= 3222636880U)
203 {
204 if (num5 != 2973714812U)
205 {
206 if (num5 == 3222636880U)
207 {
208 if (id2 == "tentacle3")
209 {
210 goto IL_676;
211 }
212 }
213 }
214 else if (id2 == "pet_mani")
215 {
216 RigidExplode rigidExplode = actor.AddComponent<RigidExplode>();
217 rigidExplode.particle = this.psExplode;
218 rigidExplode.chance = 0.1f;
219 rigidExplode.intervalMin *= 2f;
220 }
221 }
222 else if (num5 != 3239414499U)
223 {
224 if (num5 == 3274701990U)
225 {
226 if (id2 == "sis")
227 {
228 if (!this.hoard.voice)
229 {
230 hasSound = false;
231 }
232 }
233 }
234 }
235 else if (id2 == "tentacle2")
236 {
237 goto IL_676;
238 }
239 }
240 else if (num5 <= 3516364402U)
241 {
242 if (num5 != 3340080213U)
243 {
244 if (num5 == 3516364402U)
245 {
246 if (id2 == "mani")
247 {
248 if (EMono.rnd(2) == 0)
249 {
250 actor.AddComponent<RigidAngle>();
251 }
252 if (EMono.rnd(2) == 0)
253 {
254 component2.material = this.matMani;
255 UnityEngine.Object.DestroyImmediate(actor.GetComponent<RigidExplode>());
256 }
257 else
258 {
259 RigidExplode rigidExplode2 = actor.AddComponent<RigidExplode>();
260 rigidExplode2.particle = this.psExplode;
261 rigidExplode2.radius *= 10f;
262 rigidExplode2.force *= 10f;
263 rigidExplode2.chance = 0.1f;
264 rigidExplode2.intervalMin *= 2f;
265 }
266 }
267 }
268 }
269 else if (id2 == "tentacle4")
270 {
271 goto IL_676;
272 }
273 }
274 else if (num5 != 3610891294U)
275 {
276 if (num5 == 4049731356U)
277 {
278 if (id2 == "chicken")
279 {
280 actor.AddComponent<RigidUpdateSound>();
281 }
282 }
283 }
284 else if (id2 == "hat_feather")
285 {
286 goto IL_67F;
287 }
288 IL_687:
289 if (item2.floating)
290 {
291 actor.AddComponent<RigidFloat>();
292 }
293 component.updates = actor.GetComponents<RigidUpdate>();
294 for (int i = 0; i < num2; i++)
295 {
296 object obj = (i == 0) ? actor : UnityEngine.Object.Instantiate<GameObject>(actor);
297 float num6 = this.radiusX;
298 zero.x = this.posCenter.x + UnityEngine.Random.Range(-num6, num6);
299 zero.y = this.posCenter.y + UnityEngine.Random.Range(0f, this.radiusY + 0.1f * (float)num) / num4;
300 zero.z = z;
301 object obj2 = obj;
302 obj2.transform.position = zero;
303 CollectibleActor component4 = obj2.GetComponent<CollectibleActor>();
304 Rigidbody2D component5 = obj2.GetComponent<Rigidbody2D>();
305 component4.item = item2;
306 component4.hasSound = hasSound;
307 component4.rb = component5;
308 this.actors.Add(component4);
309 if (component4.updates.Length != 0)
310 {
311 foreach (RigidUpdate rigidUpdate in component4.updates)
312 {
313 rigidUpdate.rb = component5;
314 this.updates.Add(rigidUpdate);
315 }
316 }
317 component4.shadow = num3;
318 component4.shadowY = y;
319 }
320 continue;
321 IL_676:
322 z = -0.05f;
323 goto IL_687;
324 IL_67F:
325 actor.AddComponent<RigidAngle>();
326 goto IL_687;
327 }
328 }
329 }
330 this.actors.Shuffle<CollectibleActor>();
331 IEnumerable<CollectibleActor> enumerable2 = from a in this.actors
332 where a.item.Source.tag.Contains("god")
333 select a;
334 IEnumerable<CollectibleActor> enumerable3 = from a in this.actors
335 where a.item.Source.tag.Contains("chara")
336 select a;
337 foreach (CollectibleActor collectibleActor in this.actors)
338 {
339 if (!collectibleActor.paired)
340 {
341 string id2 = collectibleActor.item.id;
342 uint num5 = <PrivateImplementationDetails>.ComputeStringHash(id2);
343 if (num5 <= 2988676833U)
344 {
345 if (num5 <= 1150570096U)
346 {
347 if (num5 != 460777894U)
348 {
349 if (num5 != 1111712579U)
350 {
351 if (num5 != 1150570096U)
352 {
353 goto IL_D33;
354 }
355 if (!(id2 == "qulu"))
356 {
357 goto IL_D33;
358 }
359 if (this.<Activate>g__FindPair|25_2(collectibleActor, "dragon", 0.3f))
360 {
361 this.MakeSteady(collectibleActor);
362 continue;
363 }
364 goto IL_D33;
365 }
366 else if (!(id2 == "tentacle"))
367 {
368 goto IL_D33;
369 }
370 }
371 else
372 {
373 if (!(id2 == "vesda"))
374 {
375 goto IL_D33;
376 }
377 HoardActor.<Activate>g__DisableParticle|25_3(collectibleActor, 50);
378 using (IEnumerator<CollectibleActor> enumerator4 = enumerable3.GetEnumerator())
379 {
380 while (enumerator4.MoveNext())
381 {
382 CollectibleActor collectibleActor2 = enumerator4.Current;
383 if (!collectibleActor2.paired && !(collectibleActor2 == collectibleActor))
384 {
385 this.MakePair(collectibleActor, collectibleActor2, new Vector3(0f, -0.25f, -0.01f));
386 collectibleActor2.transform.localEulerAngles = new Vector3(0f, 0f, 90f);
387 collectibleActor2.GetComponent<SpriteRenderer>().flipX = false;
388 break;
389 }
390 }
391 continue;
392 }
393 goto IL_D2A;
394 }
395 }
396 else if (num5 != 1382054340U)
397 {
398 if (num5 != 2281206494U)
399 {
400 if (num5 != 2988676833U)
401 {
402 goto IL_D33;
403 }
404 if (!(id2 == "jure"))
405 {
406 goto IL_D33;
407 }
408 if (this.<Activate>g__FindPair|25_2(collectibleActor, "odina", 0.3f))
409 {
410 this.MakeSteady(collectibleActor);
411 continue;
412 }
413 goto IL_D33;
414 }
415 else
416 {
417 if (!(id2 == "itz"))
418 {
419 goto IL_D33;
420 }
421 if (EMono.rnd(2) == 0)
422 {
423 foreach (CollectibleActor collectibleActor3 in enumerable3)
424 {
425 if (!collectibleActor3.paired && !(collectibleActor3 == collectibleActor) && collectibleActor3.item.Source.tag.Contains("fem"))
426 {
427 this.MakePair(collectibleActor, collectibleActor3, new Vector3(0.02f, 0f, -0.01f));
428 collectibleActor3.transform.localEulerAngles = new Vector3(0f, 0f, -90f);
429 collectibleActor3.GetComponent<SpriteRenderer>().flipX = true;
430 this.MakeSteady(collectibleActor);
431 break;
432 }
433 }
434 if (collectibleActor.paired)
435 {
436 continue;
437 }
438 }
439 collectibleActor.GetComponentInChildren<ParticleSystem>().SetActive(false);
440 goto IL_D33;
441 }
442 }
443 else
444 {
445 if (!(id2 == "lar"))
446 {
447 goto IL_D33;
448 }
449 goto IL_C47;
450 }
451 }
452 else if (num5 <= 3340080213U)
453 {
454 if (num5 != 3222636880U)
455 {
456 if (num5 != 3239414499U)
457 {
458 if (num5 != 3340080213U)
459 {
460 goto IL_D33;
461 }
462 if (!(id2 == "tentacle4"))
463 {
464 goto IL_D33;
465 }
466 }
467 else if (!(id2 == "tentacle2"))
468 {
469 goto IL_D33;
470 }
471 }
472 else if (!(id2 == "tentacle3"))
473 {
474 goto IL_D33;
475 }
476 }
477 else if (num5 != 3842579285U)
478 {
479 if (num5 != 3907705998U)
480 {
481 if (num5 != 4161811998U)
482 {
483 goto IL_D33;
484 }
485 if (!(id2 == "dragon"))
486 {
487 goto IL_D33;
488 }
489 if (this.<Activate>g__FindPair|25_2(collectibleActor, "qulu", 0.3f))
490 {
491 this.MakeSteady(collectibleActor);
492 continue;
493 }
494 goto IL_D33;
495 }
496 else
497 {
498 if (!(id2 == "lomi"))
499 {
500 goto IL_D33;
501 }
502 if (this.<Activate>g__FindPair|25_2(collectibleActor, "lar", 0.15f))
503 {
504 this.MakeSteady(collectibleActor);
505 continue;
506 }
507 continue;
508 }
509 }
510 else
511 {
512 if (!(id2 == "lulu"))
513 {
514 goto IL_D33;
515 }
516 goto IL_D2A;
517 }
518 using (IEnumerator<CollectibleActor> enumerator4 = enumerable3.GetEnumerator())
519 {
520 while (enumerator4.MoveNext())
521 {
522 CollectibleActor collectibleActor4 = enumerator4.Current;
523 if (!collectibleActor4.paired && !(collectibleActor4 == collectibleActor))
524 {
525 this.MakePair(collectibleActor, collectibleActor4, new Vector3(0f, 0.25f, -0.01f));
526 collectibleActor.GetComponent<SpriteAnimation>().link = collectibleActor4.transform;
527 if (EMono.rnd(2) == 0)
528 {
529 collectibleActor4.GetComponent<SpriteRenderer>().flipX = true;
530 }
531 if (EMono.rnd(2) == 0)
532 {
533 collectibleActor.transform.SetLocalScaleX(collectibleActor.transform.localScale.x * -1f);
534 break;
535 }
536 break;
537 }
538 }
539 continue;
540 }
541 IL_C47:
542 if (this.<Activate>g__FindPair|25_2(collectibleActor, "lomi", 0.15f))
543 {
544 this.MakeSteady(collectibleActor);
545 continue;
546 }
547 continue;
548 IL_D33:
549 if (EMono.rnd(2) != 0 && collectibleActor.item.Source.tag.Contains("pair"))
550 {
551 foreach (CollectibleActor collectibleActor5 in enumerable2)
552 {
553 if (!collectibleActor5.paired && !(collectibleActor5 == collectibleActor))
554 {
555 this.MakePair(collectibleActor, collectibleActor5, 0.26f);
556 break;
557 }
558 }
559 continue;
560 }
561 continue;
562 IL_D2A:
563 HoardActor.<Activate>g__DisableParticle|25_3(collectibleActor, 50);
564 goto IL_D33;
565 }
566 }
567 foreach (CollectibleActor collectibleActor6 in this.actors)
568 {
569 if (!collectibleActor6.paired && EMono.rnd(3) != 0)
570 {
571 collectibleActor6.GetComponent<SpriteRenderer>().flipX = true;
572 }
573 }
574 }
575
576 // Token: 0x060022F8 RID: 8952 RVA: 0x000C4AD8 File Offset: 0x000C2CD8
577 public void RefreshZoom()
578 {
579 if (this.hoard.pixelPerfect)
580 {
581 this.cam.orthographicSize = (float)Screen.height * 0.5f * 0.01f * 2f;
582 return;
583 }
584 this.cam.orthographicSize = 5f;
585 }
586
587 // Token: 0x060022F9 RID: 8953 RVA: 0x000C4B26 File Offset: 0x000C2D26
588 public void MakeSteady(CollectibleActor a)
589 {
590 (a.rb ?? a.GetComponent<Rigidbody2D>()).freezeRotation = true;
591 }
592
593 // Token: 0x060022FA RID: 8954 RVA: 0x000C4B40 File Offset: 0x000C2D40
594 public void MakePair(CollectibleActor a, CollectibleActor b, float dist = 0.26f)
595 {
596 float z = 0.01f;
597 if (a.item.id != "lulu")
598 {
599 z = ((Rand.rnd(2) == 0) ? 0.01f : -0.01f);
600 }
601 this.MakePair(a, b, new Vector3(dist, 0f, z));
602 }
603
604 // Token: 0x060022FB RID: 8955 RVA: 0x000C4B94 File Offset: 0x000C2D94
605 public void MakePair(CollectibleActor a, CollectibleActor b, Vector3 v)
606 {
607 b.transform.SetParent(a.transform, true);
608 b.transform.localPosition = v;
609 b.GetComponent<SpriteRenderer>().flipX = true;
610 b.rb.isKinematic = true;
611 b.GetComponent<Collider2D>().enabled = false;
612 a.paired = (b.paired = true);
613 }
614
615 // Token: 0x060022FC RID: 8956 RVA: 0x000C4BF4 File Offset: 0x000C2DF4
616 public void RefreshBG()
617 {
618 this.srBG.sprite = (this.srReflection.sprite = this.bg.sprite);
619 this.matReflection.SetColor("_GrabColor", new Color(1f, 1f, 1f, this.bg.reflection * (0.01f * (float)this.hoard.reflection)));
620 this.srReflection.SetActive(this.hoard.reflection > 0);
621 }
622
623 // Token: 0x060022FD RID: 8957 RVA: 0x000C4C80 File Offset: 0x000C2E80
624 public void Clear()
625 {
626 foreach (CollectibleActor collectibleActor in this.actors)
627 {
628 if (collectibleActor && collectibleActor.gameObject)
629 {
630 UnityEngine.Object.DestroyImmediate(collectibleActor.gameObject);
631 }
632 }
633 this.actors.Clear();
634 this.updates.Clear();
635 }
636
637 // Token: 0x060022FE RID: 8958 RVA: 0x000C4D04 File Offset: 0x000C2F04
638 private void Update()
639 {
640 this.RefreshZoom();
641 this.matMani.SetFloat("_Space", this.curveMani.Evaluate(Time.timeSinceLevelLoad % 10f / 10f));
642 float value = (this.cam.orthographicSize <= 5f) ? 0f : ((this.cam.orthographicSize - 5f) * this.reflectMod);
643 this.matReflection.SetFloat("_Offset", value);
644 EMono.scene.transAudio.position = new Vector3(0f, this.groundY, 0f);
645 if (!this.hoard.shadow)
646 {
647 return;
648 }
649 float shadow = this.bg.shadow;
650 foreach (CollectibleActor collectibleActor in this.actors)
651 {
652 if (collectibleActor.active)
653 {
654 float num = (collectibleActor.transform.position.y - this.alphaFix1) * this.alphaFix2;
655 num = 1f - num * num * this.alphaFix4;
656 if (num >= 0f)
657 {
658 if (num > this.maxAplha)
659 {
660 num = this.maxAplha;
661 }
662 num *= shadow;
663 float num2 = (collectibleActor.transform.position.y + this.groundY) * 0.05f;
664 if (num2 > this.shdowLimitY)
665 {
666 num2 = this.shdowLimitY;
667 }
668 this.passShadow.Add(collectibleActor.transform.position.x, collectibleActor.shadowY * this.sizeFixY + this.groundY + num2, 0.8f, (float)((int)(num * 1000f) * 1000 + collectibleActor.shadow), 0f);
669 }
670 }
671 }
672 this.passShadow.Draw();
673 }
674
675 // Token: 0x060022FF RID: 8959 RVA: 0x000C4F08 File Offset: 0x000C3108
676 private void FixedUpdate()
677 {
678 float num = RigidUpdate.delta = Time.fixedDeltaTime;
679 if (this.angryEhe && this.renton && this.ehe && !this.ehe.rb.isKinematic && (Mathf.Abs(this.renton.transform.position.x - this.ehe.transform.position.x) > 0.6f || this.renton.transform.position.y > this.ehe.transform.position.y))
680 {
681 this.eheTimer += num;
682 if (this.eheTimer > 2f)
683 {
684 this.ehe.rb.position = new Vector3(this.renton.transform.position.x, this.renton.transform.position.y + 4f, this.ehe.transform.position.z);
685 this.ehe.PlaySound("teleport");
686 this.eheTimer = 0f;
687 this.eheCount++;
688 if (this.eheCount > 5)
689 {
690 this.renton.rb.constraints = RigidbodyConstraints2D.FreezePositionX;
691 this.renton.rb.gravityScale = 3f;
692 }
693 }
694 }
695 else
696 {
697 this.eheTimer = 0f;
698 }
699 foreach (RigidUpdate rigidUpdate in this.updates)
700 {
701 if (rigidUpdate.active)
702 {
703 rigidUpdate.OnFixedUpdate();
704 }
705 }
706 }
707
708 // Token: 0x06002301 RID: 8961 RVA: 0x000C5164 File Offset: 0x000C3364
709 [CompilerGenerated]
710 private bool <Activate>g__FindPair|25_2(CollectibleActor taker, string id, float dist)
711 {
712 foreach (CollectibleActor collectibleActor in this.actors)
713 {
714 if (collectibleActor.item.id == id && !collectibleActor.paired)
715 {
716 this.MakePair(taker, collectibleActor, dist);
717 return true;
718 }
719 }
720 return false;
721 }
722
723 // Token: 0x06002302 RID: 8962 RVA: 0x000C51DC File Offset: 0x000C33DC
724 [CompilerGenerated]
725 internal static void <Activate>g__DisableParticle|25_3(CollectibleActor a, int chance)
726 {
727 if (EMono.rnd(100) < chance)
728 {
729 ParticleSystem[] componentsInChildren = a.GetComponentsInChildren<ParticleSystem>();
730 for (int i = 0; i < componentsInChildren.Length; i++)
731 {
732 componentsInChildren[i].SetActive(false);
733 }
734 }
735 }
736
737 // Token: 0x04001258 RID: 4696
738 public Camera cam;
739
740 // Token: 0x04001259 RID: 4697
741 public Vector3 posCenter;
742
743 // Token: 0x0400125A RID: 4698
744 public float radiusX;
745
746 // Token: 0x0400125B RID: 4699
747 public float radiusY;
748
749 // Token: 0x0400125C RID: 4700
750 public float sizeMod;
751
752 // Token: 0x0400125D RID: 4701
753 public float sizeModCircle;
754
755 // Token: 0x0400125E RID: 4702
756 public float reflectMod;
757
758 // Token: 0x0400125F RID: 4703
759 public new bool debug;
760
761 // Token: 0x04001260 RID: 4704
762 public List<CollectibleActor> actors;
763
764 // Token: 0x04001261 RID: 4705
765 public List<RigidUpdate> updates;
766
767 // Token: 0x04001262 RID: 4706
768 public MeshPass passShadow;
769
770 // Token: 0x04001263 RID: 4707
771 public Material matReflection;
772
773 // Token: 0x04001264 RID: 4708
774 public Material matMani;
775
776 // Token: 0x04001265 RID: 4709
777 public AnimationCurve curveMani;
778
779 // Token: 0x04001266 RID: 4710
780 public SpriteRenderer srBG;
781
782 // Token: 0x04001267 RID: 4711
783 public SpriteRenderer srReflection;
784
785 // Token: 0x04001268 RID: 4712
786 public ParticleSystem psExplode;
787
788 // Token: 0x04001269 RID: 4713
789 public HoardActor.BG[] bgs;
790
791 // Token: 0x0400126A RID: 4714
792 private CollectibleActor renton;
793
794 // Token: 0x0400126B RID: 4715
795 private CollectibleActor ehe;
796
797 // Token: 0x0400126C RID: 4716
798 private bool angryEhe;
799
800 // Token: 0x0400126D RID: 4717
801 private float eheTimer = -5f;
802
803 // Token: 0x0400126E RID: 4718
804 private int eheCount;
805
806 // Token: 0x0400126F RID: 4719
807 public float groundY = -4f;
808
809 // Token: 0x04001270 RID: 4720
810 public float shdowLimitY = 1f;
811
812 // Token: 0x04001271 RID: 4721
813 public float alphaFix1 = 0.3f;
814
815 // Token: 0x04001272 RID: 4722
816 public float alphaFix2 = 0.5f;
817
818 // Token: 0x04001273 RID: 4723
819 public float alphaFix4 = 0.15f;
820
821 // Token: 0x04001274 RID: 4724
822 public float maxAplha = 0.6f;
823
824 // Token: 0x04001275 RID: 4725
825 public float sizeFixY = -0.1f;
826
827 // Token: 0x02000A25 RID: 2597
828 [Serializable]
829 public class BG
830 {
831 // Token: 0x040029C1 RID: 10689
832 public Sprite sprite;
833
834 // Token: 0x040029C2 RID: 10690
835 public float reflection;
836
837 // Token: 0x040029C3 RID: 10691
838 public float shadow;
839 }
840}
Definition EMono.cs:6
Definition Hoard.cs:10