AmazingFrogLegacy.asl 555 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. state("AmazingFrog")
  2. {
  3. int Loading : "mono.dll", 0x0027CAE8, 0x0, 0x20, 0x118;
  4. byte Loading2 : 0xC825B4;
  5. }
  6. startup
  7. {
  8. }
  9. init
  10. {
  11. vars.doLoad = false;
  12. }
  13. update
  14. {
  15. if (current.Loading2 != 0 && current.Loading == 3)
  16. {
  17. vars.doLoad = true;
  18. print("true");
  19. }
  20. if (vars.doLoad == true && current.Loading2 == 0 && current.Loading == 0)
  21. {
  22. vars.doLoad = false;
  23. print("false");
  24. }
  25. // print (current.Loading.ToString());
  26. }
  27. isLoading
  28. {
  29. return vars.doLoad;
  30. }