Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 00000200: return;
- 0000021B: if (!Read(0) unknown_operation 1000) {
- 00000223: kernel_unknown_0x350();
- 00000226: }
- 00000227: if (!Read(1010)) {
- 0000022C: kernel_unknown_0x34B();
- 00000231: } else {
- 00000232: if (!Read(1011)) {
- 00000237: kernel_unknown_0x34B();
- 0000023C: } else {
- 0000023D: if (!Read(1012)) {
- 00000242: kernel_unknown_0x34B();
- 00000247: } else {
- 00000248: if (!Read(1013)) {
- 0000024D: kernel_unknown_0x34B();
- 00000252: } else {
- 00000253: if (!Read(1014)) {
- 00000258: kernel_unknown_0x34B();
- 00000258: }
- 00000258: }
- 00000258: }
- 00000258: }
- 0000025B: }
- 0000025C: if (!Read(6787)) {
- 00000261: kernel_unknown_0x34C();
- 00000266: } else {
- 00000267: if (!Read(6802)) {
- 0000026C: kernel_unknown_0x34C();
- 0000026C: }
- 0000026F: }
- 00000270: if (!Read(0) unknown_operation 1199) {
- 00000278: if (!Read(984)) {
- 0000027D: if (!Read(7224)) {
- 00000282: if (!Read(7220)) {
- 00000287: kernel_unknown_0x349();
- 0000028C: } else {
- 0000028D: kernel_unknown_0x349();
- 0000028D: }
- 00000292: } else {
- 00000293: kernel_unknown_0x349();
- 00000293: }
- 00000298: } else {
- 00000299: kernel_unknown_0x349();
- 00000299: }
- 0000029E: } else {
- 0000029F: if (!Read(0) unknown_operation 1197) {
- 000002A7: kernel_unknown_0x349();
- 000002AC: } else {
- 000002AD: if (!Read(0) unknown_operation 1000) {
- 000002B5: kernel_unknown_0x349();
- 000002BA: } else {
- 000002BB: if (!Read(0) unknown_operation 638) {
- 000002C3: kernel_unknown_0x349();
- 000002C3: }
- 000002C3: }
- 000002C3: }
- 000002C6: }
- 000002C7: if (Read(5) != 0) {
- 000002CF: if (Read(987)) {
- 000002D5: if (!Read(7228)) {
- 000002DA: kernel_unknown_0x300();
- 000002DD: }
- 000002DD: }
- 000002DE: if (Read(976)) {
- 000002E4: kernel_unknown_0x300();
- 000002E7: }
- 000002E8: if (!Read(979)) {
- 000002ED: kernel_unknown_0x300();
- 000002F0: }
- 000002F1: if (Read(977)) {
- 000002F7: kernel_unknown_0x300();
- 000002FA: }
- 000002FB: if (Read(849)) {
- 00000301: kernel_unknown_0x300();
- 00000304: }
- 00000305: if (!Read(0) < 1580) {
- 0000030D: kernel_unknown_0x300();
- 00000310: }
- 00000311: kernel_unknown_0x300();
- 00000311: kernel_unknown_0x300();
- 00000311: kernel_unknown_0x300();
- 00000311: if (Read(984)) {
- 00000323: if (!Read(0) unknown_operation 1580) {
- 0000032B: kernel_unknown_0x300();
- 0000032E: }
- 0000032E: }
- 0000032F: if (!Read(6803)) {
- 00000334: kernel_unknown_0x300();
- 00000337: }
- 00000338: if (!Read(1008)) {
- 0000033D: kernel_unknown_0x300();
- 00000340: }
- 00000341: if (!Read(1010)) {
- 00000346: kernel_unknown_0x300();
- 00000349: }
- 0000034A: if (!Read(1011)) {
- 0000034F: kernel_unknown_0x300();
- 00000352: }
- 00000353: if (!Read(1012)) {
- 00000358: kernel_unknown_0x300();
- 0000035B: }
- 0000035C: if (!Read(1013)) {
- 00000361: kernel_unknown_0x300();
- 00000364: }
- 00000365: if (!Read(1014)) {
- 0000036A: kernel_unknown_0x300();
- 0000036D: }
- 0000036E: if (Read(3711)) {
- 00000374: if (!Read(1016)) {
- 00000379: kernel_unknown_0x300();
- 0000037C: }
- 0000037C: }
- 0000037D: if (!Read(1018)) {
- 00000382: kernel_unknown_0x300();
- 00000385: }
- 00000386: if (!Read(1020)) {
- 0000038B: kernel_unknown_0x300();
- 0000038E: }
- 0000038F: if (!Read(6787)) {
- 00000394: kernel_unknown_0x300();
- 00000397: }
- 00000398: if (!Read(6802)) {
- 0000039D: kernel_unknown_0x300();
- 000003A0: }
- 000003A0: kernel_unknown_0x320();
- 000003A2: if (Read(3711)) {
- 000003A8: kernel_unknown_0x300();
- 000003AB: }
- 000003AB: kernel_unknown_0x302();
- 000003AD: if (Read(6) != 0) {
- 000003B5: if (!Read(6787)) {
- 000003BA: kernel_unknown_0x300();
- 000003BA: kernel_unknown_0x30C();
- 000003C0: } else {
- 000003C1: if (!Read(6802)) {
- 000003C6: kernel_unknown_0x300();
- 000003C6: kernel_unknown_0x30C();
- 000003C6: }
- 000003CA: }
- 000003CC: } else {
- 000003CD: if (Read(6) != 1) {
- 000003D5: kernel_unknown_0x308();
- 000003D5: kernel_unknown_0x309();
- 000003D5: SetActiveEntityDirectionAndFacing(0);
- 000003E6: } else {
- 000003E7: if (Read(6) != 2) {
- 000003EF: kernel_unknown_0x308();
- 000003EF: kernel_unknown_0x309();
- 000003EF: SetActiveEntityDirectionAndFacing(0);
- 00000400: } else {
- 00000401: if (Read(6) != 3) {
- 00000409: if (!Read(1009)) {
- 0000040E: if (!Read(1008)) {
- 00000413: kernel_unknown_0x300();
- 00000413: kernel_unknown_0x30C();
- 00000417: }
- 00000418: if (!Read(1010)) {
- 0000041D: kernel_unknown_0x300();
- 0000041D: kernel_unknown_0x30C();
- 00000421: }
- 00000422: if (!Read(1011)) {
- 00000427: kernel_unknown_0x300();
- 00000427: kernel_unknown_0x30C();
- 0000042B: }
- 0000042C: if (!Read(1012)) {
- 00000431: kernel_unknown_0x300();
- 00000431: kernel_unknown_0x30C();
- 00000435: }
- 00000436: if (!Read(1013)) {
- 0000043B: kernel_unknown_0x300();
- 0000043B: kernel_unknown_0x30C();
- 0000043F: }
- 00000440: if (!Read(1014)) {
- 00000445: kernel_unknown_0x300();
- 00000445: kernel_unknown_0x30C();
- 00000449: }
- 00000449: }
- 0000044A: kernel_unknown_0x308();
- 0000044A: kernel_unknown_0x309();
- 0000044A: SetActiveEntityDirectionAndFacing(0);
- 0000045B: } else {
- 0000045C: if (Read(6) != 4) {
- 00000464: kernel_unknown_0x308();
- 00000464: kernel_unknown_0x309();
- 00000464: SetActiveEntityDirectionAndFacing(96);
- 00000475: } else {
- 00000476: if (Read(6) != 5) {
- 0000047E: kernel_unknown_0x308();
- 0000047E: kernel_unknown_0x309();
- 0000047E: SetActiveEntityDirectionAndFacing(228);
- 0000048F: } else {
- 00000490: if (Read(6) != 6) {
- 00000498: kernel_unknown_0x308();
- 00000498: kernel_unknown_0x309();
- 00000498: SetActiveEntityDirectionAndFacing(0);
- 000004A9: } else {
- 000004AA: if (Read(6) != 7) {
- 000004B2: if (!Read(1016)) {
- 000004B7: if (!Read(1017)) {
- 000004BC: kernel_unknown_0x300();
- 000004BC: kernel_unknown_0x30C();
- 000004C0: }
- 000004C0: }
- 000004C1: kernel_unknown_0x308();
- 000004C1: kernel_unknown_0x309();
- 000004C1: SetActiveEntityDirectionAndFacing(0);
- 000004D2: } else {
- 000004D3: if (Read(6) != 8) {
- 000004DB: kernel_unknown_0x308();
- 000004DB: kernel_unknown_0x309();
- 000004DB: SetActiveEntityDirectionAndFacing(0);
- 000004EC: } else {
- 000004ED: if (Read(6) != 9) {
- 000004F5: kernel_unknown_0x308();
- 000004F5: kernel_unknown_0x309();
- 000004F5: SetActiveEntityDirectionAndFacing(56);
- 00000506: } else {
- 00000507: if (Read(6) != 10) {
- 0000050F: kernel_unknown_0x308();
- 0000050F: kernel_unknown_0x309();
- 0000050F: SetActiveEntityDirectionAndFacing(0);
- 00000520: } else {
- 00000521: if (Read(6) != 11) {
- 00000529: kernel_unknown_0x308();
- 00000529: if (!Read(0) unknown_operation 1197) {
- 00000537: kernel_unknown_0x309();
- 0000053E: } else {
- 0000053F: kernel_unknown_0x309();
- 0000053F: }
- 00000545: SetActiveEntityDirectionAndFacing(0);
- 0000054A: } else {
- 0000054B: if (Read(6) != 12) {
- 00000553: kernel_unknown_0x308();
- 00000553: kernel_unknown_0x309();
- 00000553: SetActiveEntityDirectionAndFacing(0);
- 00000564: } else {
- 00000565: if (Read(6) != 13) {
- 0000056D: if (!Read(1016)) {
- 00000572: if (!Read(1017)) {
- 00000577: kernel_unknown_0x300();
- 00000577: kernel_unknown_0x30C();
- 0000057B: }
- 0000057B: }
- 0000057C: kernel_unknown_0x308();
- 0000057C: kernel_unknown_0x309();
- 0000057C: SetActiveEntityDirectionAndFacing(0);
- 0000058D: } else {
- 0000058E: if (Read(6) != 14) {
- 00000596: kernel_unknown_0x308();
- 00000596: kernel_unknown_0x309();
- 00000596: SetActiveEntityDirectionAndFacing(68);
- 000005A7: } else {
- 000005A8: if (Read(6) != 15) {
- 000005B0: kernel_unknown_0x308();
- 000005B0: kernel_unknown_0x309();
- 000005B0: SetActiveEntityDirectionAndFacing(250);
- 000005C1: } else {
- 000005C2: if (Read(6) != 16) {
- 000005CA: if (!Read(1016)) {
- 000005CF: if (!Read(1017)) {
- 000005D4: kernel_unknown_0x300();
- 000005D4: kernel_unknown_0x30C();
- 000005D8: }
- 000005D8: }
- 000005D9: kernel_unknown_0x308();
- 000005D9: kernel_unknown_0x309();
- 000005D9: SetActiveEntityDirectionAndFacing(0);
- 000005EA: } else {
- 000005EB: if (Read(6) != 17) {
- 000005F3: kernel_unknown_0x308();
- 000005F3: kernel_unknown_0x309();
- 000005F3: SetActiveEntityDirectionAndFacing(0);
- 00000604: } else {
- 00000605: if (Read(6) != 18) {
- 0000060D: kernel_unknown_0x308();
- 0000060D: kernel_unknown_0x309();
- 0000060D: SetActiveEntityDirectionAndFacing(0);
- 0000061E: } else {
- 0000061F: if (Read(6) != 19) {
- 00000627: kernel_unknown_0x308();
- 00000627: kernel_unknown_0x309();
- 00000627: SetActiveEntityDirectionAndFacing(0);
- 00000638: } else {
- 00000639: if (Read(6) != 20) {
- 00000641: kernel_unknown_0x308();
- 00000641: kernel_unknown_0x309();
- 00000641: SetActiveEntityDirectionAndFacing(0);
- 00000652: } else {
- 00000653: if (Read(6) != 21) {
- 0000065B: kernel_unknown_0x308();
- 0000065B: kernel_unknown_0x309();
- 0000065B: SetActiveEntityDirectionAndFacing(0);
- 0000066C: } else {
- 0000066D: if (Read(6) != 22) {
- 00000675: kernel_unknown_0x308();
- 00000675: kernel_unknown_0x309();
- 00000675: SetActiveEntityDirectionAndFacing(0);
- 00000686: } else {
- 00000687: if (Read(6) != 23) {
- 0000068F: kernel_unknown_0x308();
- 0000068F: kernel_unknown_0x309();
- 0000068F: SetActiveEntityDirectionAndFacing(0);
- 000006A0: } else {
- 000006A1: if (Read(6) != 24) {
- 000006A9: kernel_unknown_0x308();
- 000006A9: kernel_unknown_0x309();
- 000006A9: SetActiveEntityDirectionAndFacing(188);
- 000006BA: } else {
- 000006BB: if (Read(6) != 25) {
- 000006C3: kernel_unknown_0x308();
- 000006C3: kernel_unknown_0x309();
- 000006C3: SetActiveEntityDirectionAndFacing(0);
- 000006D4: } else {
- 000006D5: if (Read(6) != 26) {
- 000006DD: kernel_unknown_0x308();
- 000006DD: kernel_unknown_0x309();
- 000006DD: SetActiveEntityDirectionAndFacing(192);
- 000006EE: } else {
- 000006EF: if (Read(6) != 27) {
- 000006F7: kernel_unknown_0x308();
- 000006F7: kernel_unknown_0x309();
- 000006F7: SetActiveEntityDirectionAndFacing(0);
- 00000708: } else {
- 00000709: if (Read(6) != 28) {
- 00000711: kernel_unknown_0x308();
- 00000711: kernel_unknown_0x309();
- 00000711: SetActiveEntityDirectionAndFacing(96);
- 00000722: } else {
- 00000723: if (Read(6) != 29) {
- 0000072B: kernel_unknown_0x308();
- 0000072B: kernel_unknown_0x309();
- 0000072B: SetActiveEntityDirectionAndFacing(231);
- 0000073C: } else {
- 0000073D: if (Read(6) != 32) {
- 00000745: if (!Read(1009)) {
- 0000074A: if (!Read(1008)) {
- 0000074F: kernel_unknown_0x300();
- 0000074F: kernel_unknown_0x30C();
- 00000753: }
- 00000754: if (!Read(1010)) {
- 00000759: kernel_unknown_0x300();
- 00000759: kernel_unknown_0x30C();
- 0000075D: }
- 0000075E: if (!Read(1011)) {
- 00000763: kernel_unknown_0x300();
- 00000763: kernel_unknown_0x30C();
- 00000767: }
- 00000768: if (!Read(1012)) {
- 0000076D: kernel_unknown_0x300();
- 0000076D: kernel_unknown_0x30C();
- 00000771: }
- 00000772: if (!Read(1013)) {
- 00000777: kernel_unknown_0x300();
- 00000777: kernel_unknown_0x30C();
- 0000077B: }
- 0000077C: if (!Read(1014)) {
- 00000781: kernel_unknown_0x300();
- 00000781: kernel_unknown_0x30C();
- 00000785: }
- 00000785: }
- 00000786: kernel_unknown_0x308();
- 00000786: kernel_unknown_0x309();
- 00000786: SetActiveEntityDirectionAndFacing(Read(4));
- 00000797: } else {
- 00000798: if (Read(6) != 33) {
- 000007A0: if (!Read(1016)) {
- 000007A5: if (!Read(1017)) {
- 000007AA: kernel_unknown_0x300();
- 000007AA: kernel_unknown_0x30C();
- 000007AE: }
- 000007AE: }
- 000007AF: kernel_unknown_0x308();
- 000007AF: kernel_unknown_0x309();
- 000007AF: SetActiveEntityDirectionAndFacing(Read(4));
- 000007C0: } else {
- 000007C1: if (Read(6) != 34) {
- 000007C9: if (!Read(1009)) {
- 000007CE: if (!Read(1008)) {
- 000007D3: kernel_unknown_0x300();
- 000007D3: kernel_unknown_0x30C();
- 000007D7: }
- 000007D8: if (!Read(1010)) {
- 000007DD: kernel_unknown_0x300();
- 000007DD: kernel_unknown_0x30C();
- 000007E1: }
- 000007E2: if (!Read(1011)) {
- 000007E7: kernel_unknown_0x300();
- 000007E7: kernel_unknown_0x30C();
- 000007EB: }
- 000007EC: if (!Read(1012)) {
- 000007F1: kernel_unknown_0x300();
- 000007F1: kernel_unknown_0x30C();
- 000007F5: }
- 000007F6: if (!Read(1013)) {
- 000007FB: kernel_unknown_0x300();
- 000007FB: kernel_unknown_0x30C();
- 000007FF: }
- 00000800: if (!Read(1014)) {
- 00000805: kernel_unknown_0x300();
- 00000805: kernel_unknown_0x30C();
- 00000809: }
- 00000809: }
- 0000080A: kernel_unknown_0x308();
- 0000080A: kernel_unknown_0x309();
- 0000080A: SetActiveEntityDirectionAndFacing(Read(4));
- 0000081B: } else {
- 0000081C: if (Read(6) != 36) {
- 00000824: kernel_unknown_0x300();
- 00000824: kernel_unknown_0x302();
- 0000082A: } else {
- 0000082B: if (Read(6) != 37) {
- 00000833: kernel_unknown_0x300();
- 00000833: kernel_unknown_0x302();
- 00000839: } else {
- 0000083A: if (Read(6) != 38) {
- 00000842: kernel_unknown_0x300();
- 00000842: kernel_unknown_0x302();
- 00000848: } else {
- 00000849: if (Read(6) != 39) {
- 00000851: kernel_unknown_0x300();
- 00000851: kernel_unknown_0x302();
- 00000857: } else {
- 00000858: if (Read(6) != 40) {
- 00000860: if (!Read(1018)) {
- 00000865: kernel_unknown_0x300();
- 00000865: kernel_unknown_0x30C();
- 00000869: }
- 0000086A: kernel_unknown_0x308();
- 0000086A: kernel_unknown_0x309();
- 0000086A: SetActiveEntityDirectionAndFacing(0);
- 0000087B: } else {
- 0000087C: if (Read(6) != 41) {
- 00000884: if (!Read(1020)) {
- 00000889: kernel_unknown_0x300();
- 00000889: kernel_unknown_0x30C();
- 0000088D: }
- 0000088E: kernel_unknown_0x308();
- 0000088E: kernel_unknown_0x309();
- 0000089B: } else {
- 0000089C: if (Read(6) != 43) {
- 000008A4: kernel_unknown_0x308();
- 000008A4: kernel_unknown_0x309();
- 000008A4: SetActiveEntityDirectionAndFacing(128);
- 000008B5: } else {
- 000008B6: if (Read(6) != 44) {
- 000008BE: kernel_unknown_0x308();
- 000008BE: kernel_unknown_0x309();
- 000008BE: SetActiveEntityDirectionAndFacing(0);
- 000008CF: } else {
- 000008D0: if (Read(6) != 45) {
- 000008D8: if (!Read(1020)) {
- 000008DD: if (!Read(1021)) {
- 000008E2: if (!Read(7215)) {
- 000008E7: kernel_unknown_0x300();
- 000008E7: kernel_unknown_0x30C();
- 000008EB: }
- 000008EC: kernel_unknown_0x300();
- 000008EC: kernel_unknown_0x30C();
- 000008EC: if (!Read(7214)) {
- 000008F6: kernel_unknown_0x308();
- 000008F6: kernel_unknown_0x309();
- 000008F6: Write(Read(7214), 0);
- 00000907: }
- 00000907: }
- 00000907: }
- 00000909: } else {
- 0000090A: if (Read(6) != 46) {
- 00000912: kernel_unknown_0x308();
- 00000912: kernel_unknown_0x309();
- 00000912: SetActiveEntityDirectionAndFacing(232);
- 00000923: } else {
- 00000924: if (Read(6) != 47) {
- 0000092C: kernel_unknown_0x308();
- 0000092C: kernel_unknown_0x309();
- 0000092C: SetActiveEntityDirectionAndFacing(128);
- 0000093D: } else {
- 0000093E: if (Read(6) != 48) {
- 00000946: kernel_unknown_0x308();
- 00000946: kernel_unknown_0x309();
- 00000946: SetActiveEntityDirectionAndFacing(227);
- 00000957: } else {
- 00000958: if (Read(6) != 49) {
- 00000968: kernel_unknown_0x319();
- 0000096A: kernel_unknown_0x308();
- 0000096A: kernel_unknown_0x309();
- 0000096A: SetActiveEntityDirectionAndFacing(128);
- 0000097B: } else {
- 0000097C: if (Read(6) != 51) {
- 00000984: if (!Read(1020)) {
- 00000989: kernel_unknown_0x300();
- 00000989: kernel_unknown_0x30C();
- 00000989: kernel_unknown_0x300();
- 00000991: }
- 00000993: } else {
- 00000994: if (Read(6) != 53) {
- 0000099C: kernel_unknown_0x308();
- 0000099C: kernel_unknown_0x309();
- 0000099C: SetActiveEntityDirectionAndFacing(Read(4));
- 000009AD: } else {
- 000009AE: if (Read(6) != 54) {
- 000009B6: if (!Read(6802)) {
- 000009BB: kernel_unknown_0x300();
- 000009BB: kernel_unknown_0x30C();
- 000009BF: }
- 000009C0: kernel_unknown_0x308();
- 000009C0: kernel_unknown_0x309();
- 000009C0: SetActiveEntityDirectionAndFacing(192);
- 000009D1: } else {
- 000009D2: if (Read(6) != 55) {
- 000009DA: kernel_unknown_0x308();
- 000009DA: kernel_unknown_0x309();
- 000009DA: SetActiveEntityDirectionAndFacing(0);
- 000009EB: } else {
- 000009EC: if (Read(6) != 57) {
- 000009F4: kernel_unknown_0x308();
- 000009F4: kernel_unknown_0x309();
- 000009F4: SetActiveEntityDirectionAndFacing(128);
- 00000A05: } else {
- 00000A06: if (Read(6) != 58) {
- 00000A0E: kernel_unknown_0x308();
- 00000A0E: kernel_unknown_0x309();
- 00000A0E: SetActiveEntityDirectionAndFacing(25);
- 00000A1F: } else {
- 00000A20: if (Read(6) != 59) {
- 00000A28: if (!Read(1020)) {
- 00000A2D: kernel_unknown_0x300();
- 00000A2D: kernel_unknown_0x30C();
- 00000A2D: kernel_unknown_0x308();
- 00000A2D: kernel_unknown_0x309();
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A2D: }
- 00000A3D: }
- 00000A3D: }
- 00000A3F: } else {
- 00000A40: if (Read(987)) {
- 00000A46: if (!Read(7220)) {
- 00000A4B: kernel_unknown_0x300();
- 00000A4B: Write(Read(7228), 1);
- 00000A54: }
- 00000A54: }
- 00000A55: if (!Read(984)) {
- 00000A5A: if (Read(7220)) {
- 00000A60: if (!Read(7224)) {
- 00000A65: kernel_unknown_0x300();
- 00000A65: kernel_unknown_0x30C();
- 00000A65: kernel_unknown_0x300();
- 00000A6D: }
- 00000A6D: }
- 00000A6D: }
- 00000A6E: if (Read(976)) {
- 00000A74: kernel_unknown_0x300();
- 00000A77: }
- 00000A78: if (!Read(979)) {
- 00000A7D: kernel_unknown_0x300();
- 00000A80: }
- 00000A81: if (Read(977)) {
- 00000A87: kernel_unknown_0x300();
- 00000A8A: }
- 00000A8B: if (Read(849)) {
- 00000A91: kernel_unknown_0x300();
- 00000A94: }
- 00000A95: if (!Read(0) < 1580) {
- 00000A9D: kernel_unknown_0x300();
- 00000AA0: }
- 00000AA1: kernel_unknown_0x300();
- 00000AA1: kernel_unknown_0x300();
- 00000AA1: kernel_unknown_0x300();
- 00000AA1: if (Read(984)) {
- 00000AB3: if (!Read(0) unknown_operation 1580) {
- 00000ABB: kernel_unknown_0x300();
- 00000ABE: }
- 00000ABE: }
- 00000ABF: if (!Read(6803)) {
- 00000AC4: kernel_unknown_0x300();
- 00000AC7: }
- 00000AC8: if (!Read(1016)) {
- 00000ACD: kernel_unknown_0x300();
- 00000AD0: }
- 00000AD1: if (!Read(1018)) {
- 00000AD6: kernel_unknown_0x300();
- 00000AD9: }
- 00000ADA: if (!Read(1020)) {
- 00000ADF: kernel_unknown_0x300();
- 00000AE2: }
- 00000AE3: if (!Read(6787)) {
- 00000AE8: kernel_unknown_0x300();
- 00000AEB: }
- 00000AEC: if (!Read(6802)) {
- 00000AF1: kernel_unknown_0x300();
- 00000AF4: }
- 00000AF5: if (!Read(7200)) {
- 00000AFA: if (!Read(1008)) {
- 00000AFF: kernel_unknown_0x300();
- 00000B02: }
- 00000B03: if (!Read(1010)) {
- 00000B08: kernel_unknown_0x300();
- 00000B0B: }
- 00000B0C: if (!Read(1011)) {
- 00000B11: kernel_unknown_0x300();
- 00000B14: }
- 00000B15: if (!Read(1012)) {
- 00000B1A: kernel_unknown_0x300();
- 00000B1D: }
- 00000B1E: if (!Read(1013)) {
- 00000B23: kernel_unknown_0x300();
- 00000B26: }
- 00000B27: if (!Read(1014)) {
- 00000B2C: kernel_unknown_0x300();
- 00000B2F: }
- 00000B2F: }
- 00000B30: kernel_unknown_0x300();
- 00000B30: kernel_unknown_0x302();
- 00000B30: if (!Read(7200)) {
- 00000B3A: if (!Read(1009)) {
- 00000B3F: if (!Read(1010)) {
- 00000B44: kernel_unknown_0x300();
- 00000B47: }
- 00000B48: if (!Read(1011)) {
- 00000B4D: kernel_unknown_0x300();
- 00000B50: }
- 00000B51: if (!Read(1012)) {
- 00000B56: kernel_unknown_0x300();
- 00000B59: }
- 00000B5A: if (!Read(1013)) {
- 00000B5F: kernel_unknown_0x300();
- 00000B62: }
- 00000B63: if (!Read(1014)) {
- 00000B68: kernel_unknown_0x300();
- 00000B6B: }
- 00000B6C: if (!Read(1008)) {
- 00000B71: kernel_unknown_0x300();
- 00000B74: }
- 00000B74: kernel_unknown_0x30C();
- 00000B75: }
- 00000B76: if (!Read(10)) {
- 00000B7A: kernel_unknown_0x320();
- 00000B7C: Write(Read(7200), 0);
- 00000B7C: if (!Read(7201)) {
- 00000B87: kernel_unknown_0x308();
- 00000B87: kernel_unknown_0x309();
- 00000B87: SetActiveEntityDirectionAndFacing(224);
- 00000B98: } else {
- 00000B99: kernel_unknown_0x308();
- 00000B99: kernel_unknown_0x309();
- 00000B99: SetActiveEntityDirectionAndFacing(96);
- 00000B99: }
- 00000BAA: } else {
- 00000BAB: Write(Read(897), 90);
- 00000BAB: Write(Read(7200), 0);
- 00000BAB: }
- 00000BB8: } else {
- 00000BB8: kernel_unknown_0x320();
- 00000BBA: Write(Read(7200), 0);
- 00000BBA: if (!Read(84)) {
- 00000BC5: Write(Read(84), 0);
- 00000BC5: Write(Read(1009), 1);
- 00000BC5: Write(Read(1008), 1);
- 00000BC5: Write(Read(898), Read(0));
- 00000BC5: Write(Read(899), Read(1));
- 00000BC5: Write(Read(904), 512);
- 00000BC5: Write(Read(906), 768);
- 00000BC5: kernel_unknown_0x300();
- 00000BC5: kernel_unknown_0x308();
- 00000BC5: kernel_unknown_0x309();
- 00000BC5: kernel_unknown_0x30C();
- 00000BC5: if (!Read(1010)) {
- 00000C05: kernel_unknown_0x300();
- 00000C08: }
- 00000C09: if (!Read(1011)) {
- 00000C0E: kernel_unknown_0x300();
- 00000C11: }
- 00000C12: if (!Read(1012)) {
- 00000C17: kernel_unknown_0x300();
- 00000C1A: }
- 00000C1B: if (!Read(1013)) {
- 00000C20: kernel_unknown_0x300();
- 00000C23: }
- 00000C24: if (!Read(1014)) {
- 00000C29: kernel_unknown_0x300();
- 00000C2C: }
- 00000C2E: } else {
- 00000C2F: if (!Read(1008)) {
- 00000C34: kernel_unknown_0x300();
- 00000C37: }
- 00000C38: if (!Read(1010)) {
- 00000C3D: kernel_unknown_0x300();
- 00000C40: }
- 00000C41: if (!Read(1011)) {
- 00000C46: kernel_unknown_0x300();
- 00000C49: }
- 00000C4A: if (!Read(1012)) {
- 00000C4F: kernel_unknown_0x300();
- 00000C52: }
- 00000C53: if (!Read(1013)) {
- 00000C58: kernel_unknown_0x300();
- 00000C5B: }
- 00000C5C: if (!Read(1014)) {
- 00000C61: kernel_unknown_0x300();
- 00000C61: }
- 00000C61: }
- 00000C64: }
- 00000C64: kernel_unknown_0x320();
- 00000C66: Write(Read(7200), 0);
- 00000C66: }
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x313();
- 00000C6C: kernel_unknown_0x314();
- 00000C6C: kernel_unknown_0x315();
- 00000C6C: kernel_unknown_0x316();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x313();
- 00000C6C: kernel_unknown_0x314();
- 00000C6C: kernel_unknown_0x315();
- 00000C6C: kernel_unknown_0x316();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x313();
- 00000C6C: kernel_unknown_0x314();
- 00000C6C: kernel_unknown_0x315();
- 00000C6C: kernel_unknown_0x316();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: kernel_unknown_0x310();
- 00000C6C: kernel_unknown_0x311();
- 00000C6C: kernel_unknown_0x312();
- 00000C6C: if (Read(0) != 1596) {
- 00000DB8: kernel_unknown_0x33E();
- 00000DBD: } else {
- 00000DBE: if (!Read(6803)) {
- 00000DC3: if (!Read(7212)) {
- 00000DC8: if (Read(7209)) {
- 00000DCE: kernel_unknown_0x33E();
- 00000DCE: }
- 00000DD1: }
- 00000DD1: }
- 00000DD1: }
- 00000DD1: return;
- 00000201: return;
- 00000203: if (!Read(897)) {
- 0000020F: Write(Read(897), Read(897) - 1);
- 00000211: if (Read(897) != 0) {
- 00000218: kernel_unknown_0x320();
- 00000219: }
- 00000219: }
- 00000219: return;
- 00000203: if (!Read(897)) {
- 0000020F: Write(Read(897), Read(897) - 1);
- 00000211: if (Read(897) != 0) {
- 00000218: kernel_unknown_0x320();
- 00000219: }
- 00000219: }
- 00000219: return;
- 00000203: if (!Read(897)) {
- 0000020F: Write(Read(897), Read(897) - 1);
- 00000211: if (Read(897) != 0) {
- 00000218: kernel_unknown_0x320();
- 00000219: }
- 00000219: }
- 00000219: return;
- 00000203: if (!Read(897)) {
- 0000020F: Write(Read(897), Read(897) - 1);
- 00000211: if (Read(897) != 0) {
- 00000218: kernel_unknown_0x320();
- 00000219: }
- 00000219: }
- 00000219: return;
- 00000DD3: if (!Read(0) < 1199) {
- 00000DDB: EnterFieldScene(50, 0);
- 00000DE2: } else {
- 00000DE3: if (!Read(0) > 1199) {
- 00000DEB: EnterFieldScene(50, 1);
- 00000DEB: }
- 00000DF0: }
- 00000DF0: return;
- 00002AED: TriggerBattle(469);
- 00002AED: Write(Read(7200), 1);
- 00002AED: Write(Read(7201), Read(11));
- 00002AED: return;
- 00000203: if (!Read(897)) {
- 0000020F: Write(Read(897), Read(897) - 1);
- 00000211: if (Read(897) != 0) {
- 00000218: kernel_unknown_0x320();
- 00000219: }
- 00000219: }
- 00000219: return;
- 00002C8C: if (!Read(0) unknown_operation 1620) {
- 00002C94: kernel_unknown_0x222();
- 00002C97: }
- 00002C97: return;
- 00000DF2: Unknown333(Read(2), 64);
- 00000DF2: kernel_unknown_0x347();
- 00000DF2: kernel_unknown_0x30E();
- 00000DF2: SetWaitFrames(15);
- 00000DF2: Wait();
- 00000DF2: kernel_unknown_0x30E();
- 00000DF2: SetControlLock(1);
- 00000DF2: return;
- 00000E12: kernel_unknown_0x30E();
- 00000E12: SetWaitFrames(15);
- 00000E12: Wait();
- 00000E12: kernel_unknown_0x30E();
- 00000E28: kernel_unknown_0x353();
- 00000E31: SetActiveEntityDirectionAndFacing(Read(3) + 192);
- 00000E33: SetControlLock(1);
- 00000E33: SetControlLock(0);
- 00000E33: return;
- 00000E41: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00000E43: SetActiveEntityMovespeed(20);
- 00000E43: SetWaitFrames(5);
- 00000E43: Wait();
- 00000E43: SetActiveEntityMovespeed(0);
- 00000E43: SetWindowParameters(0, 0);
- 00000E43: if (Read(8) != 0) {
- 00000E5D: WaitForWindowReady();
- 00000E5F: SetWindowDimensions(30, 160, 260, 41);
- 00000E5F: WaitForWindowReady();
- 00000E5F: SetWindowMessage(49);
- 00000E6F: } else {
- 00000E70: if (Read(8) != 1) {
- 00000E77: WaitForWindowReady();
- 00000E79: SetWindowDimensions(80, 160, 180, 41);
- 00000E79: WaitForWindowReady();
- 00000E79: SetWindowMessage(50);
- 00000E89: } else {
- 00000E8A: if (Read(8) != 2) {
- 00000E91: WaitForWindowReady();
- 00000E93: SetWindowDimensions(35, 160, 250, 41);
- 00000E93: WaitForWindowReady();
- 00000E93: SetWindowMessage(51);
- 00000E93: }
- 00000E93: }
- 00000EA1: }
- 00000EA1: WaitForMessageAcknowledge();
- 00000EA3: SetControlLock(1);
- 00000EA3: SetBattleLock(1);
- 00000EA3: return;
- 00000EAC: Unknown333(4, 0);
- 00000EB7: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00000EB9: SetActiveEntityMovespeed(20);
- 00000EB9: SetWaitFrames(5);
- 00000EB9: Wait();
- 00000EB9: SetActiveEntityMovespeed(0);
- 00000EB9: SetWaitFrames(30);
- 00000EB9: Wait();
- 00000EB9: SetWindowParameters(0, 0);
- 00000EB9: if (Read(8) != 0) {
- 00000ED8: WaitForWindowReady();
- 00000EDA: SetWindowDimensions(60, 160, 200, 57);
- 00000EDA: WaitForWindowReady();
- 00000EDA: SetWindowMessage(38);
- 00000EEA: } else {
- 00000EEB: if (Read(8) != 1) {
- 00000EF2: WaitForWindowReady();
- 00000EF4: SetWindowDimensions(50, 160, 220, 41);
- 00000EF4: WaitForWindowReady();
- 00000EF4: SetWindowMessage(40);
- 00000EF4: }
- 00000F02: }
- 00000F02: WaitForMessageAcknowledge();
- 00000F04: SetWaitFrames(30);
- 00000F04: Wait();
- 00000F0E: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00000F10: SetWindowParameters(0, 0);
- 00000F10: if (Read(8) != 0) {
- 00000F1D: WaitForWindowReady();
- 00000F1F: SetWindowDimensions(70, 160, 180, 57);
- 00000F1F: WaitForWindowReady();
- 00000F1F: SetWindowMessage(39);
- 00000F2F: } else {
- 00000F30: if (Read(8) != 1) {
- 00000F37: WaitForWindowReady();
- 00000F39: SetWindowDimensions(55, 160, 210, 57);
- 00000F39: WaitForWindowReady();
- 00000F39: SetWindowMessage(41);
- 00000F39: }
- 00000F47: }
- 00000F47: WaitForMessageAcknowledge();
- 00000F49: Write(Read(1009), 0);
- 00000F49: SetBattleLock(1);
- 00000F49: SetControlLock(1);
- 00000F49: return;
- 00000F58: Unknown333(4, 0);
- 00000F58: SetWindowParameters(0, 0);
- 00000F58: if (Read(8) != 0) {
- 00000F6B: WaitForWindowReady();
- 00000F6D: SetWindowDimensions(60, 160, 200, 73);
- 00000F6D: WaitForWindowReady();
- 00000F6D: kernel_unknown_0x326();
- 00000F6D: kernel_unknown_0x327();
- 00000F82: } else {
- 00000F83: if (Read(8) != 1) {
- 00000F8A: WaitForWindowReady();
- 00000F8C: SetWindowDimensions(25, 160, 270, 73);
- 00000F8C: WaitForWindowReady();
- 00000F8C: kernel_unknown_0x326();
- 00000F8C: kernel_unknown_0x327();
- 00000FA1: } else {
- 00000FA2: if (Read(8) != 2) {
- 00000FA9: WaitForWindowReady();
- 00000FAB: SetWindowDimensions(60, 160, 200, 73);
- 00000FAB: WaitForWindowReady();
- 00000FAB: kernel_unknown_0x326();
- 00000FAB: kernel_unknown_0x327();
- 00000FAB: }
- 00000FAB: }
- 00000FBE: }
- 00000FBF: if (Read(12) != 2) {
- 00000FC7: Write(Read(908), Read(9));
- 00000FC7: if (Read(85)) {
- 00000FD3: Write(Read(85), Read(908));
- 00000FDA: } else {
- 00000FDB: if (Read(86)) {
- 00000FE1: Write(Read(86), Read(908));
- 00000FE8: } else {
- 00000FE9: if (Read(87)) {
- 00000FEF: Write(Read(87), Read(908));
- 00000FF6: } else {
- 00000FF7: if (Read(88)) {
- 00000FFD: Write(Read(88), Read(908));
- 00001004: } else {
- 00001005: Write(Read(85), Read(86));
- 00001005: Write(Read(86), Read(87));
- 00001005: Write(Read(87), Read(88));
- 00001005: Write(Read(88), Read(908));
- 00001005: }
- 00001005: }
- 00001005: }
- 00001005: }
- 0000101C: }
- 0000101C: return;
- 0000101E: SetControlLock(0);
- 0000101E: SetBattleLock(0);
- 0000101E: kernel_unknown_0x321();
- 0000101E: if (Read(7202)) {
- 0000102F: WaitForWindowReady();
- 00001031: SetWindowDimensions(100, 160, 120, 41);
- 00001031: SetWindowParameters(0, 1);
- 00001031: WaitForWindowReady();
- 00001031: SetWindowMessage(20);
- 00001031: kernel_unknown_0x30E();
- 00001031: SetActiveEntityMovespeed(20);
- 00001031: SetWaitFrames(40);
- 00001031: Wait();
- 00001031: WaitForWindowReady();
- 00001031: WaitForWindowReady();
- 00001031: SetWindowDimensions(110, 160, 100, 41);
- 00001031: SetWindowParameters(0, 1);
- 00001031: WaitForWindowReady();
- 00001031: SetWindowMessage(21);
- 00001031: kernel_unknown_0x30E();
- 00001031: SetActiveEntityMovespeed(20);
- 0000107B: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 0000107D: if (!Read(13)) {
- 00001082: SetWaitFrames(1);
- 00001082: Wait();
- 00001082: goto 0x107C;
- 00001088: }
- 00001088: WaitForWindowReady();
- 0000108A: SetActiveEntityMovespeed(0);
- 0000108A: SetWaitFrames(10);
- 0000108A: Wait();
- 00001098: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 0000109A: kernel_unknown_0x30E();
- 0000109A: WaitForWindowReady();
- 0000109A: SetWindowDimensions(70, 160, 180, 57);
- 0000109A: SetWindowParameters(0, 0);
- 0000109A: WaitForWindowReady();
- 0000109A: SetWindowMessage(22);
- 0000109A: WaitForMessageAcknowledge();
- 0000109A: Write(Read(7202), 1);
- 000010BE: } else {
- 000010BF: SetActiveEntityMovespeed(40);
- 000010C8: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000010CA: if (!Read(13)) {
- 000010CF: SetWaitFrames(1);
- 000010CF: Wait();
- 000010CF: goto 0x10C9;
- 000010D5: }
- 000010D6: SetActiveEntityMovespeed(0);
- 000010D6: SetWaitFrames(10);
- 000010D6: Wait();
- 000010E4: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000010E6: kernel_unknown_0x30E();
- 000010E6: WaitForWindowReady();
- 000010E6: SetWindowDimensions(30, 160, 260, 57);
- 000010E6: SetWindowParameters(0, 0);
- 000010E6: WaitForWindowReady();
- 000010E6: SetWindowMessage(23);
- 000010E6: WaitForMessageAcknowledge();
- 000010E6: }
- 00001103: kernel_unknown_0x30E();
- 00001103: SetControlLock(1);
- 00001103: SetBattleLock(1);
- 00001103: return;
- 000014D6: SetControlLock(0);
- 000014D6: Unknown333(6, 0);
- 000014E5: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000014E7: SetActiveEntityMovespeed(20);
- 000014E7: SetWaitFrames(5);
- 000014E7: Wait();
- 000014E7: SetActiveEntityMovespeed(0);
- 000014F9: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000014FB: kernel_unknown_0x30E();
- 000014FB: SetWaitFrames(30);
- 000014FB: Wait();
- 000014FB: SetWindowParameters(0, 0);
- 000014FB: if (Read(8) != 0) {
- 00001513: WaitForWindowReady();
- 00001515: SetWindowDimensions(60, 160, 200, 41);
- 00001515: WaitForWindowReady();
- 00001515: SetWindowMessage(35);
- 00001525: } else {
- 00001526: if (Read(8) != 1) {
- 0000152D: WaitForWindowReady();
- 0000152F: SetWindowDimensions(80, 160, 160, 41);
- 0000152F: WaitForWindowReady();
- 0000152F: SetWindowMessage(36);
- 0000152F: }
- 0000153D: }
- 0000153D: WaitForMessageAcknowledge();
- 0000153F: kernel_unknown_0x30E();
- 0000153F: SetControlLock(1);
- 0000153F: return;
- 0000154A: Unknown333(6, 0);
- 00001555: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001557: SetActiveEntityMovespeed(20);
- 00001557: SetWaitFrames(20);
- 00001557: Wait();
- 00001557: SetActiveEntityMovespeed(0);
- 00001569: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 0000156B: SetWaitFrames(20);
- 0000156B: Wait();
- 0000156B: kernel_unknown_0x30E();
- 0000156B: SetWaitFrames(40);
- 0000156B: Wait();
- 0000156B: SetWindowParameters(0, 0);
- 0000156B: if (Read(8) != 0) {
- 00001588: WaitForWindowReady();
- 0000158A: SetWindowDimensions(60, 160, 200, 41);
- 0000158A: WaitForWindowReady();
- 0000158A: SetWindowMessage(35);
- 0000159A: } else {
- 0000159B: if (Read(8) != 1) {
- 000015A2: WaitForWindowReady();
- 000015A4: SetWindowDimensions(80, 160, 160, 41);
- 000015A4: WaitForWindowReady();
- 000015A4: SetWindowMessage(36);
- 000015A4: }
- 000015B2: }
- 000015B2: WaitForMessageAcknowledge();
- 000015B4: kernel_unknown_0x30E();
- 000015B4: SetBattleLock(1);
- 000015B4: SetControlLock(1);
- 000015B4: return;
- 000015C3: SetControlLock(0);
- 000015C3: SetBattleLock(0);
- 000015C3: kernel_unknown_0x30E();
- 000015C3: PlaySoundEffect(144);
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(14);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: SetWaitFrames(20);
- 000015C3: Wait();
- 000015C3: WaitForWindowReady();
- 000015C3: SetWindowDimensions(137, 160, 46, 25);
- 000015C3: SetWindowParameters(0, 0);
- 000015C3: WaitForWindowReady();
- 000015C3: SetWindowMessage(34);
- 000015C3: WaitForMessageAcknowledge();
- 000015C3: PlaySoundEffect(144);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(100);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(0);
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(14);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: PlaySoundEffect(144);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(100);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(0);
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(4);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(4);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(4);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(60);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: kernel_unknown_0x30E();
- 000015C3: PlaySoundEffect(250);
- 000015C3: SetWaitFrames(10);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x30E();
- 000015C3: SetWaitFrames(60);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x331();
- 000015C3: SetControlLock(0);
- 000015C3: SetWaitFrames(20);
- 000015C3: Wait();
- 000015C3: Write(Read(3705), 1);
- 000015C3: kernel_unknown_0x30E();
- 000015C3: kernel_unknown_0x330();
- 000015C3: kernel_unknown_0x215();
- 000015C3: return;
- 000016B4: if (!Read(3704)) {
- 000016B9: if (Read(3710)) {
- 000016BF: if (!Read(3709)) {
- 000016C4: SetBattleLock(0);
- 000016C4: SetControlLock(0);
- 000016C4: SetWaitFrames(20);
- 000016C4: Wait();
- 000016C4: kernel_unknown_0x330();
- 000016C4: kernel_unknown_0x210();
- 000016DA: } else {
- 000016DB: SetControlLock(0);
- 000016DB: Unknown333(Read(8), 192);
- 000016DB: Write(Read(2), Read(15));
- 000016DB: kernel_unknown_0x330();
- 000016DB: kernel_unknown_0x20E();
- 000016DB: kernel_unknown_0x334();
- 000016DB: kernel_unknown_0x30C();
- 000016DB: if (Read(8) != 19) {
- 000016FD: Write(Read(1009), 1);
- 000016FD: }
- 00001702: }
- 00001704: } else {
- 00001705: SetControlLock(0);
- 00001705: Unknown333(Read(8), 192);
- 00001705: Write(Read(2), Read(15));
- 00001705: kernel_unknown_0x330();
- 00001705: kernel_unknown_0x20E();
- 00001705: kernel_unknown_0x334();
- 00001705: kernel_unknown_0x30C();
- 00001705: if (Read(8) != 19) {
- 00001727: Write(Read(1009), 1);
- 00001727: }
- 0000172C: }
- 0000172E: } else {
- 0000172F: SetControlLock(0);
- 0000172F: Unknown333(Read(8), 192);
- 0000172F: Write(Read(2), Read(15));
- 0000172F: kernel_unknown_0x330();
- 0000172F: kernel_unknown_0x20E();
- 0000172F: kernel_unknown_0x334();
- 0000172F: kernel_unknown_0x30C();
- 0000172F: if (Read(8) != 19) {
- 00001751: Write(Read(1009), 1);
- 00001751: }
- 00001756: }
- 00001756: return;
- 00001758: PlaySoundEffect(11);
- 00001758: SetControlLock(0);
- 00001758: SetActiveEntityMovespeed(35);
- 00001758: SetActiveEntityDirectionAndFacing(Read(4));
- 0000176D: SetActiveEntityDirection(Read(4) + 128);
- 0000176F: FadeOut(250, 0);
- 0000176F: SetWaitFrames(3);
- 0000176F: Wait();
- 0000176F: FadeIn(250, 0);
- 0000176F: SetWaitFrames(7);
- 0000176F: Wait();
- 0000176F: SetActiveEntityMovespeed(0);
- 0000176F: WaitForWindowReady();
- 0000176F: SetWindowDimensions(60, 160, 200, 73);
- 0000176F: SetWindowParameters(0, 0);
- 0000176F: WaitForWindowReady();
- 0000176F: SetWindowMessage(54);
- 0000176F: WaitForMessageAcknowledge();
- 0000176F: SetControlLock(1);
- 0000176F: return;
- 000017A5: SetControlLock(0);
- 000017A5: SetActiveEntityMovespeed(40);
- 000017A5: SetActiveEntityDirectionAndFacing(Read(4));
- 000017B6: SetActiveEntityDirection(Read(4) + 128);
- 000017B8: SetWaitFrames(30);
- 000017B8: Wait();
- 000017B8: SetActiveEntityMovespeed(0);
- 000017B8: WaitForWindowReady();
- 000017B8: SetWindowDimensions(20, 160, 280, 57);
- 000017B8: SetWindowParameters(0, 0);
- 000017B8: WaitForWindowReady();
- 000017B8: SetWindowMessage(37);
- 000017B8: SetControlLock(1);
- 000017B8: return;
- 000017DC: PlaySoundEffect(11);
- 000017DC: SetControlLock(0);
- 000017DC: SetActiveEntityMovespeed(35);
- 000017DC: SetActiveEntityDirectionAndFacing(Read(4));
- 000017F1: SetActiveEntityDirection(Read(4) + 128);
- 000017F3: FadeOut(250, 0);
- 000017F3: SetWaitFrames(3);
- 000017F3: Wait();
- 000017F3: FadeIn(250, 0);
- 000017F3: SetWaitFrames(7);
- 000017F3: Wait();
- 000017F3: SetActiveEntityMovespeed(0);
- 000017F3: WaitForWindowReady();
- 000017F3: SetWindowDimensions(60, 160, 200, 89);
- 000017F3: SetWindowParameters(0, 0);
- 000017F3: WaitForWindowReady();
- 000017F3: SetWindowMessage(60);
- 000017F3: SetControlLock(1);
- 000017F3: return;
- 00001828: PlaySoundEffect(11);
- 00001828: SetControlLock(0);
- 00001828: SetActiveEntityMovespeed(20);
- 00001828: SetActiveEntityDirectionAndFacing(Read(4));
- 0000183D: SetActiveEntityDirection(Read(4) + 128);
- 0000183F: FadeOut(250, 0);
- 0000183F: SetWaitFrames(3);
- 0000183F: Wait();
- 0000183F: FadeIn(250, 0);
- 0000183F: SetWaitFrames(3);
- 0000183F: Wait();
- 0000183F: SetActiveEntityMovespeed(0);
- 0000183F: return;
- 0000188C: PlaySoundEffect(11);
- 0000188C: SetControlLock(0);
- 0000188C: SetActiveEntityMovespeed(20);
- 0000188C: SetActiveEntityDirectionAndFacing(Read(4));
- 000018A1: SetActiveEntityDirection(Read(4) + 128);
- 000018A3: SetWaitFrames(7);
- 000018A3: Wait();
- 000018A3: SetActiveEntityMovespeed(0);
- 000018A3: return;
- 000018CE: SetActiveEntityMovespeed(0);
- 000018CE: if (Read(7226)) {
- 000018D8: kernel_unknown_0x30E();
- 000018D8: SetWaitFrames(28);
- 000018D8: Wait();
- 000018D8: Write(Read(7226), 1);
- 000018E8: }
- 000018E9: kernel_unknown_0x30E();
- 000018E9: if (Read(7227)) {
- 000018F5: kernel_unknown_0x34A();
- 000018F5: SetWaitFrames(20);
- 000018F5: Wait();
- 000018F5: kernel_unknown_0x34A();
- 000018F5: Write(Read(7227), 1);
- 00001907: }
- 00001908: Write(Read(911), 0);
- 00001908: Write(Read(7222), 1);
- 00001908: Write(Read(7221), 1);
- 00001908: Write(Read(7225), 0);
- 00001908: return;
- 00001921: SetActiveEntityMovespeed(0);
- 00001921: kernel_unknown_0x30E();
- 00001921: PlaySoundEffect(433);
- 00001921: FadeOut(250, 0);
- 00001921: SetWaitFrames(3);
- 00001921: Wait();
- 00001921: FadeIn(250, 0);
- 00001921: SetWaitFrames(1);
- 00001921: Wait();
- 00001921: kernel_unknown_0x219();
- 00001921: SetWaitFrames(40);
- 00001921: Wait();
- 00001921: kernel_unknown_0x30E();
- 00001921: SetWaitFrames(9);
- 00001921: Wait();
- 00001921: kernel_unknown_0x30E();
- 00001921: if (!Read(911) < 5) {
- 0000196E: Write(Read(911), Read(911) + 1);
- 0000196F: }
- 0000196F: return;
- 00001971: kernel_unknown_0x30E();
- 00001971: PlaySoundEffect(266);
- 00001971: SetWaitFrames(80);
- 00001971: Wait();
- 00001971: kernel_unknown_0x30A();
- 00001971: SetWaitFrames(100);
- 00001971: Wait();
- 00001971: FadeOut(8, 0);
- 00001971: PlaySoundEffect(0);
- 00001971: SetWaitFrames(100);
- 00001971: Wait();
- 00001971: FadeIn(8, 0);
- 00001971: kernel_unknown_0x33D();
- 00001971: Write(Read(7220), 1);
- 00001971: return;
- 00001D55: Write(Read(7205), 1);
- 00001D55: SetWaitFrames(30);
- 00001D55: Wait();
- 00001D63: kernel_unknown_0x30A();
- 00001D65: kernel_unknown_0x34D();
- 00001D65: SetWaitFrames(30);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x34D();
- 00001D65: PlaySoundEffect(306);
- 00001D65: SetWaitFrames(130);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x30A();
- 00001D65: kernel_unknown_0x34E();
- 00001D65: SetWaitFrames(30);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x30E();
- 00001D65: SetWaitFrames(30);
- 00001D65: Wait();
- 00001D65: PlaySoundEffect(432);
- 00001D65: SetWaitFrames(120);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x30E();
- 00001D65: SetActiveEntityMovespeed(4);
- 00001D65: kernel_unknown_0x34E();
- 00001D65: kernel_unknown_0x34D();
- 00001D65: SetWaitFrames(100);
- 00001D65: Wait();
- 00001D65: SetWaitFrames(100);
- 00001D65: Wait();
- 00001D65: SetWaitFrames(100);
- 00001D65: Wait();
- 00001D65: FadeOut(16, 1);
- 00001D65: SetWaitFrames(50);
- 00001D65: Wait();
- 00001D65: EnterFieldScene(51, 0);
- 00001D65: kernel_unknown_0x319();
- 00001D65: SetControlLock(1);
- 00001D65: SetBattleLock(1);
- 00001D65: return;
- 0000241B: kernel_unknown_0x351();
- 0000241B: SetControlLock(0);
- 0000241B: SetBattleLock(0);
- 0000241B: SetWaitFrames(60);
- 0000241B: Wait();
- 00002431: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00002433: SetActiveEntityMovespeed(20);
- 00002433: SetWaitFrames(10);
- 00002433: Wait();
- 00002433: SetActiveEntityMovespeed(0);
- 00002433: WaitForWindowReady();
- 00002433: SetWindowDimensions(122, 160, 76, 41);
- 00002433: SetWindowParameters(0, 0);
- 00002433: WaitForWindowReady();
- 00002433: SetWindowMessage(55);
- 00002433: WaitForMessageAcknowledge();
- 00002433: SetWaitFrames(20);
- 00002433: Wait();
- 00002433: kernel_unknown_0x352();
- 00002433: PlaySoundEffect(383);
- 00002433: SetWaitFrames(20);
- 00002433: Wait();
- 00002433: kernel_unknown_0x351();
- 00002433: kernel_unknown_0x33E();
- 00002433: kernel_unknown_0x30E();
- 00002433: SetWaitFrames(40);
- 00002433: Wait();
- 00002433: WaitForWindowReady();
- 00002433: SetWindowDimensions(90, 160, 140, 41);
- 00002433: SetWindowParameters(0, 0);
- 00002433: WaitForWindowReady();
- 00002433: SetWindowMessage(56);
- 00002433: WaitForMessageAcknowledge();
- 00002433: SetWaitFrames(30);
- 00002433: Wait();
- 00002433: kernel_unknown_0x33D();
- 00002433: SetControlLock(1);
- 00002433: SetBattleLock(1);
- 00002433: return;
- 00002C64: SetControlLock(0);
- 00002C6B: kernel_unknown_0x33A();
- 00002C6D: SetWaitFrames(30);
- 00002C6D: Wait();
- 00002C6D: kernel_unknown_0x33A();
- 00002C6D: FadeOut(16, 1);
- 00002C6D: SetWaitFrames(30);
- 00002C6D: Wait();
- 00002C6D: EnterFieldScene(59, 0);
- 00002C6D: SetControlLock(1);
- 00002C6D: return;
- 00002C99: SetControlLock(0);
- 00002C99: kernel_unknown_0x321();
- 00002C99: SetActiveEntityMovespeed(20);
- 00002CA5: if (!Read(13)) {
- 00002CAA: SetWaitFrames(1);
- 00002CAA: Wait();
- 00002CAA: goto 0x2CA4;
- 00002CB0: }
- 00002CB1: SetActiveEntityMovespeed(0);
- 00002CB1: SetControlLock(1);
- 00002CB1: return;
- 00001F8B: if (Read(7211)) {
- 00001F91: SetControlLock(0);
- 00001F91: Write(Read(7211), 1);
- 00001F91: SetWaitFrames(30);
- 00001F91: Wait();
- 00001F91: WaitForWindowReady();
- 00001F91: SetWindowDimensions(40, 5, 240, 73);
- 00001F91: SetWindowParameters(0, 0);
- 00001F91: WaitForWindowReady();
- 00001F91: SetWindowMessage(53);
- 00001F91: WaitForMessageAcknowledge();
- 00001F91: SetControlLock(1);
- 00001FBA: }
- 00001FBA: return;
- 00001F89: return;
- 0000101E: SetControlLock(0);
- 0000101E: SetBattleLock(0);
- 0000101E: kernel_unknown_0x321();
- 0000101E: if (Read(7202)) {
- 0000102F: WaitForWindowReady();
- 00001031: SetWindowDimensions(100, 160, 120, 41);
- 00001031: SetWindowParameters(0, 1);
- 00001031: WaitForWindowReady();
- 00001031: SetWindowMessage(20);
- 00001031: kernel_unknown_0x30E();
- 00001031: SetActiveEntityMovespeed(20);
- 00001031: SetWaitFrames(40);
- 00001031: Wait();
- 00001031: WaitForWindowReady();
- 00001031: WaitForWindowReady();
- 00001031: SetWindowDimensions(110, 160, 100, 41);
- 00001031: SetWindowParameters(0, 1);
- 00001031: WaitForWindowReady();
- 00001031: SetWindowMessage(21);
- 00001031: kernel_unknown_0x30E();
- 00001031: SetActiveEntityMovespeed(20);
- 0000107B: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 0000107D: if (!Read(13)) {
- 00001082: SetWaitFrames(1);
- 00001082: Wait();
- 00001082: goto 0x107C;
- 00001088: }
- 00001088: WaitForWindowReady();
- 0000108A: SetActiveEntityMovespeed(0);
- 0000108A: SetWaitFrames(10);
- 0000108A: Wait();
- 00001098: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 0000109A: kernel_unknown_0x30E();
- 0000109A: WaitForWindowReady();
- 0000109A: SetWindowDimensions(70, 160, 180, 57);
- 0000109A: SetWindowParameters(0, 0);
- 0000109A: WaitForWindowReady();
- 0000109A: SetWindowMessage(22);
- 0000109A: WaitForMessageAcknowledge();
- 0000109A: Write(Read(7202), 1);
- 000010BE: } else {
- 000010BF: SetActiveEntityMovespeed(40);
- 000010C8: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000010CA: if (!Read(13)) {
- 000010CF: SetWaitFrames(1);
- 000010CF: Wait();
- 000010CF: goto 0x10C9;
- 000010D5: }
- 000010D6: SetActiveEntityMovespeed(0);
- 000010D6: SetWaitFrames(10);
- 000010D6: Wait();
- 000010E4: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000010E6: kernel_unknown_0x30E();
- 000010E6: WaitForWindowReady();
- 000010E6: SetWindowDimensions(30, 160, 260, 57);
- 000010E6: SetWindowParameters(0, 0);
- 000010E6: WaitForWindowReady();
- 000010E6: SetWindowMessage(23);
- 000010E6: WaitForMessageAcknowledge();
- 000010E6: }
- 00001103: kernel_unknown_0x30E();
- 00001103: SetControlLock(1);
- 00001103: SetBattleLock(1);
- 00001103: return;
- 0000241B: kernel_unknown_0x351();
- 0000241B: SetControlLock(0);
- 0000241B: SetBattleLock(0);
- 0000241B: SetWaitFrames(60);
- 0000241B: Wait();
- 00002431: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00002433: SetActiveEntityMovespeed(20);
- 00002433: SetWaitFrames(10);
- 00002433: Wait();
- 00002433: SetActiveEntityMovespeed(0);
- 00002433: WaitForWindowReady();
- 00002433: SetWindowDimensions(122, 160, 76, 41);
- 00002433: SetWindowParameters(0, 0);
- 00002433: WaitForWindowReady();
- 00002433: SetWindowMessage(55);
- 00002433: WaitForMessageAcknowledge();
- 00002433: SetWaitFrames(20);
- 00002433: Wait();
- 00002433: kernel_unknown_0x352();
- 00002433: PlaySoundEffect(383);
- 00002433: SetWaitFrames(20);
- 00002433: Wait();
- 00002433: kernel_unknown_0x351();
- 00002433: kernel_unknown_0x33E();
- 00002433: kernel_unknown_0x30E();
- 00002433: SetWaitFrames(40);
- 00002433: Wait();
- 00002433: WaitForWindowReady();
- 00002433: SetWindowDimensions(90, 160, 140, 41);
- 00002433: SetWindowParameters(0, 0);
- 00002433: WaitForWindowReady();
- 00002433: SetWindowMessage(56);
- 00002433: WaitForMessageAcknowledge();
- 00002433: SetWaitFrames(30);
- 00002433: Wait();
- 00002433: kernel_unknown_0x33D();
- 00002433: SetControlLock(1);
- 00002433: SetBattleLock(1);
- 00002433: return;
- 00001112: SetControlLock(0);
- 00001112: SetBattleLock(0);
- 00001112: kernel_unknown_0x321();
- 00001112: if (Read(7202)) {
- 00001123: WaitForWindowReady();
- 00001125: SetWindowDimensions(100, 160, 120, 41);
- 00001125: SetWindowParameters(0, 1);
- 00001125: WaitForWindowReady();
- 00001125: SetWindowMessage(24);
- 00001125: kernel_unknown_0x30E();
- 00001125: SetActiveEntityMovespeed(20);
- 00001125: SetWaitFrames(40);
- 00001125: Wait();
- 00001125: WaitForWindowReady();
- 00001125: WaitForWindowReady();
- 00001125: SetWindowDimensions(85, 160, 150, 41);
- 00001125: SetWindowParameters(0, 1);
- 00001125: WaitForWindowReady();
- 00001125: SetWindowMessage(25);
- 00001125: kernel_unknown_0x30E();
- 00001125: SetActiveEntityMovespeed(20);
- 0000116F: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001171: if (!Read(13)) {
- 00001176: SetWaitFrames(1);
- 00001176: Wait();
- 00001176: goto 0x1170;
- 0000117C: }
- 0000117C: WaitForWindowReady();
- 0000117E: SetActiveEntityMovespeed(0);
- 0000117E: SetWaitFrames(10);
- 0000117E: Wait();
- 0000118C: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 0000118E: kernel_unknown_0x30E();
- 0000118E: WaitForWindowReady();
- 0000118E: SetWindowDimensions(27, 160, 265, 57);
- 0000118E: SetWindowParameters(0, 0);
- 0000118E: WaitForWindowReady();
- 0000118E: SetWindowMessage(26);
- 0000118E: WaitForMessageAcknowledge();
- 0000118E: Write(Read(7202), 1);
- 000011B2: } else {
- 000011B3: SetActiveEntityMovespeed(40);
- 000011BC: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000011BE: if (!Read(13)) {
- 000011C3: SetWaitFrames(1);
- 000011C3: Wait();
- 000011C3: goto 0x11BD;
- 000011C9: }
- 000011CA: SetActiveEntityMovespeed(0);
- 000011CA: SetWaitFrames(10);
- 000011CA: Wait();
- 000011D8: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000011DA: kernel_unknown_0x30E();
- 000011DA: WaitForWindowReady();
- 000011DA: SetWindowDimensions(30, 160, 260, 57);
- 000011DA: SetWindowParameters(0, 0);
- 000011DA: WaitForWindowReady();
- 000011DA: SetWindowMessage(27);
- 000011DA: WaitForMessageAcknowledge();
- 000011DA: }
- 000011F7: kernel_unknown_0x30E();
- 000011F7: SetControlLock(1);
- 000011F7: SetBattleLock(1);
- 000011F7: return;
- 00002C99: SetControlLock(0);
- 00002C99: kernel_unknown_0x321();
- 00002C99: SetActiveEntityMovespeed(20);
- 00002CA5: if (!Read(13)) {
- 00002CAA: SetWaitFrames(1);
- 00002CAA: Wait();
- 00002CAA: goto 0x2CA4;
- 00002CB0: }
- 00002CB1: SetActiveEntityMovespeed(0);
- 00002CB1: SetControlLock(1);
- 00002CB1: return;
- 00001206: SetControlLock(0);
- 00001206: SetBattleLock(0);
- 00001206: kernel_unknown_0x321();
- 00001206: if (Read(7202)) {
- 00001217: WaitForWindowReady();
- 00001219: SetWindowDimensions(85, 160, 150, 41);
- 00001219: SetWindowParameters(0, 1);
- 00001219: WaitForWindowReady();
- 00001219: SetWindowMessage(28);
- 00001219: kernel_unknown_0x30E();
- 00001219: SetActiveEntityMovespeed(20);
- 00001219: SetWaitFrames(40);
- 00001219: Wait();
- 00001219: WaitForWindowReady();
- 00001219: WaitForWindowReady();
- 00001219: SetWindowDimensions(73, 160, 174, 41);
- 00001219: SetWindowParameters(0, 1);
- 00001219: WaitForWindowReady();
- 00001219: SetWindowMessage(29);
- 00001219: kernel_unknown_0x30E();
- 00001219: SetActiveEntityMovespeed(20);
- 00001263: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001265: if (!Read(13)) {
- 0000126A: SetWaitFrames(1);
- 0000126A: Wait();
- 0000126A: goto 0x1264;
- 00001270: }
- 00001270: WaitForWindowReady();
- 00001272: SetActiveEntityMovespeed(0);
- 00001272: SetWaitFrames(10);
- 00001272: Wait();
- 00001280: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001282: kernel_unknown_0x30E();
- 00001282: WaitForWindowReady();
- 00001282: SetWindowDimensions(80, 160, 160, 41);
- 00001282: SetWindowParameters(0, 0);
- 00001282: WaitForWindowReady();
- 00001282: SetWindowMessage(30);
- 00001282: WaitForMessageAcknowledge();
- 00001282: Write(Read(7202), 1);
- 000012A6: } else {
- 000012A7: SetActiveEntityMovespeed(40);
- 000012B0: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000012B2: if (!Read(13)) {
- 000012B7: SetWaitFrames(1);
- 000012B7: Wait();
- 000012B7: goto 0x12B1;
- 000012BD: }
- 000012BE: SetActiveEntityMovespeed(0);
- 000012BE: SetWaitFrames(10);
- 000012BE: Wait();
- 000012CC: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000012CE: kernel_unknown_0x30E();
- 000012CE: WaitForWindowReady();
- 000012CE: SetWindowDimensions(27, 160, 265, 41);
- 000012CE: SetWindowParameters(0, 0);
- 000012CE: WaitForWindowReady();
- 000012CE: SetWindowMessage(31);
- 000012CE: WaitForMessageAcknowledge();
- 000012CE: }
- 000012EB: kernel_unknown_0x30E();
- 000012EB: SetControlLock(1);
- 000012EB: SetBattleLock(1);
- 000012EB: return;
- 00002CBA: SetControlLock(0);
- 00002CBA: kernel_unknown_0x321();
- 00002CBA: SetActiveEntityMovespeed(20);
- 00002CC6: if (!Read(13)) {
- 00002CCB: SetWaitFrames(1);
- 00002CCB: Wait();
- 00002CCB: goto 0x2CC5;
- 00002CD1: }
- 00002CD2: SetActiveEntityMovespeed(0);
- 00002CD2: SetControlLock(1);
- 00002CD2: return;
- 0000234C: if (Read(5) != 0) {
- 00002354: if (Read(6) != 51) {
- 0000235C: Write(Read(909), Read(7));
- 0000235C: kernel_unknown_0x319();
- 0000235C: Write(Read(912), 0);
- 0000235C: PlaySoundEffect(383);
- 0000235C: kernel_unknown_0x308();
- 0000235C: kernel_unknown_0x309();
- 0000235C: SetActiveEntityDirectionAndFacing(151);
- 0000235C: SetBattleLock(0);
- 0000235C: SetControlLock(0);
- 0000235C: kernel_unknown_0x31C();
- 0000235C: kernel_unknown_0x32F();
- 0000235C: SetWaitFrames(15);
- 0000235C: Wait();
- 0000235C: SetActiveEntityMovespeed(160);
- 0000239D: kernel_unknown_0x33A();
- 0000239F: SetWaitFrames(150);
- 0000239F: Wait();
- 0000239F: kernel_unknown_0x33A();
- 0000239F: SetWaitFrames(85);
- 0000239F: Wait();
- 0000239F: SetActiveEntityMovespeed(0);
- 0000239F: kernel_unknown_0x220();
- 000023B4: }
- 000023B6: } else {
- 000023B7: if (Read(5) != 1) {
- 000023BF: if (!Read(984)) {
- 000023C4: if (Read(7220)) {
- 000023CA: if (!Read(7224)) {
- 000023CF: SetControlLock(0);
- 000023CF: kernel_unknown_0x339();
- 000023CF: kernel_unknown_0x319();
- 000023CF: kernel_unknown_0x308();
- 000023CF: kernel_unknown_0x309();
- 000023CF: SetActiveEntityDirectionAndFacing(128);
- 000023CF: kernel_unknown_0x31C();
- 000023CF: kernel_unknown_0x32F();
- 000023CF: kernel_unknown_0x351();
- 000023CF: SetWaitFrames(10);
- 000023CF: Wait();
- 000023CF: kernel_unknown_0x21F();
- 000023CF: }
- 000023FC: }
- 000023FC: }
- 000023FC: }
- 000023FC: }
- 000023FD: if (!Read(0) unknown_operation 1314) {
- 00002405: if (!Read(1019)) {
- 0000240A: kernel_unknown_0x308();
- 0000240A: kernel_unknown_0x309();
- 0000240A: SetActiveEntityDirectionAndFacing(245);
- 00002419: }
- 00002419: }
- 00002419: return;
- 000022F0: kernel_unknown_0x19();
- 000022F0: if (!14 <= 100) {
- 000022F8: kernel_unknown_0x30D();
- 000022F9: }
- 000022FA: if (!Read(0) < 1580) {
- 00002302: kernel_unknown_0x18();
- 00002302: if (!14 <= 256) {
- 0000230B: kernel_unknown_0x218();
- 0000230E: }
- 00002310: } else {
- 00002311: if (Read(0) != 1580) {
- 00002319: kernel_unknown_0x18();
- 00002319: if (!14 <= 256) {
- 00002322: EnterFieldScene(52, 0);
- 00002322: }
- 00002327: }
- 00002327: }
- 00002328: if (Read(0) != 1596) {
- 00002330: kernel_unknown_0x18();
- 00002330: if (!9 <= 256) {
- 00002339: Write(Read(0), 1598);
- 00002339: EnterFieldScene(52, 0);
- 00002339: Write(Read(7214), 1);
- 0000234A: }
- 0000234A: }
- 0000234A: return;
- 0000253A: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2 || Read(8) == 19) {
- 00002543: if (Read(8) != 19) {
- 0000254B: Write(Read(7215), 1);
- 00002550: }
- 00002551: if (!Read(6803)) {
- 00002556: if (Read(7212)) {
- 0000255C: SetControlLock(0);
- 0000255C: Write(Read(7212), 1);
- 0000255C: kernel_unknown_0x221();
- 0000255C: kernel_unknown_0x334();
- 0000256A: }
- 0000256A: }
- 0000256B: if (!Read(3704)) {
- 00002570: if (Read(3710)) {
- 00002576: if (!Read(3709)) {
- 0000257B: SetBattleLock(0);
- 0000257B: SetControlLock(0);
- 0000257B: SetWaitFrames(20);
- 0000257B: Wait();
- 0000257B: kernel_unknown_0x330();
- 0000257B: kernel_unknown_0x210();
- 00002591: } else {
- 00002591: kernel_unknown_0x30C();
- 00002593: if (Read(8) != 3) {
- 0000259B: Write(Read(1021), 1);
- 0000259B: }
- 000025A0: }
- 000025A2: } else {
- 000025A2: kernel_unknown_0x30C();
- 000025A4: if (Read(8) != 3) {
- 000025AC: Write(Read(1021), 1);
- 000025AC: }
- 000025B1: }
- 000025B3: } else {
- 000025B3: kernel_unknown_0x30C();
- 000025B5: if (Read(8) != 3) {
- 000025BD: Write(Read(1021), 1);
- 000025BD: }
- 000025C2: }
- 000025C2: }
- 000025C2: return;
- 000025C4: Write(Read(1021), 0);
- 000025C4: Write(Read(1019), 0);
- 000025C4: Write(Read(7215), 0);
- 000025C4: return;
- 00001758: PlaySoundEffect(11);
- 00001758: SetControlLock(0);
- 00001758: SetActiveEntityMovespeed(35);
- 00001758: SetActiveEntityDirectionAndFacing(Read(4));
- 0000176D: SetActiveEntityDirection(Read(4) + 128);
- 0000176F: FadeOut(250, 0);
- 0000176F: SetWaitFrames(3);
- 0000176F: Wait();
- 0000176F: FadeIn(250, 0);
- 0000176F: SetWaitFrames(7);
- 0000176F: Wait();
- 0000176F: SetActiveEntityMovespeed(0);
- 0000176F: WaitForWindowReady();
- 0000176F: SetWindowDimensions(60, 160, 200, 73);
- 0000176F: SetWindowParameters(0, 0);
- 0000176F: WaitForWindowReady();
- 0000176F: SetWindowMessage(54);
- 0000176F: WaitForMessageAcknowledge();
- 0000176F: SetControlLock(1);
- 0000176F: return;
- 000017A5: SetControlLock(0);
- 000017A5: SetActiveEntityMovespeed(40);
- 000017A5: SetActiveEntityDirectionAndFacing(Read(4));
- 000017B6: SetActiveEntityDirection(Read(4) + 128);
- 000017B8: SetWaitFrames(30);
- 000017B8: Wait();
- 000017B8: SetActiveEntityMovespeed(0);
- 000017B8: WaitForWindowReady();
- 000017B8: SetWindowDimensions(20, 160, 280, 57);
- 000017B8: SetWindowParameters(0, 0);
- 000017B8: WaitForWindowReady();
- 000017B8: SetWindowMessage(37);
- 000017B8: SetControlLock(1);
- 000017B8: return;
- 000017DC: PlaySoundEffect(11);
- 000017DC: SetControlLock(0);
- 000017DC: SetActiveEntityMovespeed(35);
- 000017DC: SetActiveEntityDirectionAndFacing(Read(4));
- 000017F1: SetActiveEntityDirection(Read(4) + 128);
- 000017F3: FadeOut(250, 0);
- 000017F3: SetWaitFrames(3);
- 000017F3: Wait();
- 000017F3: FadeIn(250, 0);
- 000017F3: SetWaitFrames(7);
- 000017F3: Wait();
- 000017F3: SetActiveEntityMovespeed(0);
- 000017F3: WaitForWindowReady();
- 000017F3: SetWindowDimensions(60, 160, 200, 89);
- 000017F3: SetWindowParameters(0, 0);
- 000017F3: WaitForWindowReady();
- 000017F3: SetWindowMessage(60);
- 000017F3: SetControlLock(1);
- 000017F3: return;
- 00001828: PlaySoundEffect(11);
- 00001828: SetControlLock(0);
- 00001828: SetActiveEntityMovespeed(20);
- 00001828: SetActiveEntityDirectionAndFacing(Read(4));
- 0000183D: SetActiveEntityDirection(Read(4) + 128);
- 0000183F: FadeOut(250, 0);
- 0000183F: SetWaitFrames(3);
- 0000183F: Wait();
- 0000183F: FadeIn(250, 0);
- 0000183F: SetWaitFrames(3);
- 0000183F: Wait();
- 0000183F: SetActiveEntityMovespeed(0);
- 0000183F: return;
- 0000188C: PlaySoundEffect(11);
- 0000188C: SetControlLock(0);
- 0000188C: SetActiveEntityMovespeed(20);
- 0000188C: SetActiveEntityDirectionAndFacing(Read(4));
- 000018A1: SetActiveEntityDirection(Read(4) + 128);
- 000018A3: SetWaitFrames(7);
- 000018A3: Wait();
- 000018A3: SetActiveEntityMovespeed(0);
- 000018A3: return;
- 00002C64: SetControlLock(0);
- 00002C6B: kernel_unknown_0x33A();
- 00002C6D: SetWaitFrames(30);
- 00002C6D: Wait();
- 00002C6D: kernel_unknown_0x33A();
- 00002C6D: FadeOut(16, 1);
- 00002C6D: SetWaitFrames(30);
- 00002C6D: Wait();
- 00002C6D: EnterFieldScene(59, 0);
- 00002C6D: SetControlLock(1);
- 00002C6D: return;
- 00001FBC: if (Read(7218)) {
- 00001FC2: SetControlLock(0);
- 00001FC2: Write(Read(7218), 1);
- 00001FC2: SetWaitFrames(30);
- 00001FC2: Wait();
- 00001FC2: WaitForWindowReady();
- 00001FC2: SetWindowDimensions(40, 5, 240, 89);
- 00001FC2: SetWindowParameters(0, 0);
- 00001FC2: WaitForWindowReady();
- 00001FC2: SetWindowMessage(59);
- 00001FC2: WaitForMessageAcknowledge();
- 00001FC2: SetControlLock(1);
- 00001FEB: }
- 00001FEB: return;
- 00001FF8: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002001: SetControlLock(0);
- 00002001: Write(Read(1008), 1);
- 00002001: Unknown333(Read(8), 192);
- 00002001: Write(Read(2), Read(15));
- 00002001: kernel_unknown_0x330();
- 00002001: kernel_unknown_0x20E();
- 00002001: kernel_unknown_0x334();
- 00002001: kernel_unknown_0x30C();
- 00002001: if (Read(8) != 4) {
- 00002029: Write(Read(1009), 1);
- 0000202E: }
- 0000202E: }
- 0000202E: return;
- 00002030: if (!Read(0) < 385) {
- 00002038: if (!Read(7204)) {
- 0000203D: SetControlLock(0);
- 0000203D: SetBattleLock(0);
- 0000203D: SetWaitFrames(5);
- 0000203D: Wait();
- 0000203D: Write(Read(3), Read(4));
- 0000203D: kernel_unknown_0x330();
- 0000203D: kernel_unknown_0x20F();
- 0000203D: kernel_unknown_0x334();
- 0000203D: SetWaitFrames(20);
- 0000203D: Wait();
- 0000203D: kernel_unknown_0x330();
- 0000203D: kernel_unknown_0x211();
- 0000203D: kernel_unknown_0x334();
- 0000203D: kernel_unknown_0x354();
- 0000206C: } else {
- 0000206D: SetControlLock(0);
- 0000206D: SetWaitFrames(5);
- 0000206D: Wait();
- 0000206D: Write(Read(3), Read(4));
- 0000206D: kernel_unknown_0x330();
- 0000206D: kernel_unknown_0x20F();
- 0000206D: kernel_unknown_0x334();
- 0000206D: Write(Read(1008), 0);
- 0000206D: Write(Read(1009), 0);
- 0000206D: kernel_unknown_0x30E();
- 0000206D: PlaySoundEffect(276);
- 0000206D: SetWaitFrames(18);
- 0000206D: Wait();
- 0000206D: SetBattleLock(1);
- 0000206D: kernel_unknown_0x30E();
- 0000206D: kernel_unknown_0x332();
- 0000206D: SetControlLock(1);
- 0000206D: }
- 000020B0: } else {
- 000020B1: if (!Read(1000)) {
- 000020B6: SetControlLock(0);
- 000020B6: SetBattleLock(0);
- 000020B6: SetWaitFrames(5);
- 000020B6: Wait();
- 000020B6: Write(Read(3), Read(4));
- 000020B6: kernel_unknown_0x330();
- 000020B6: kernel_unknown_0x20F();
- 000020B6: kernel_unknown_0x334();
- 000020B6: SetWaitFrames(20);
- 000020B6: Wait();
- 000020B6: kernel_unknown_0x330();
- 000020B6: kernel_unknown_0x212();
- 000020B6: kernel_unknown_0x334();
- 000020B6: Write(Read(1008), 0);
- 000020B6: Write(Read(1009), 0);
- 000020B6: kernel_unknown_0x30E();
- 000020B6: PlaySoundEffect(276);
- 000020B6: SetWaitFrames(18);
- 000020B6: Wait();
- 000020B6: kernel_unknown_0x30E();
- 000020B6: SetBattleLock(1);
- 000020B6: kernel_unknown_0x332();
- 000020B6: SetControlLock(1);
- 0000210B: } else {
- 0000210C: SetControlLock(0);
- 0000210C: SetWaitFrames(5);
- 0000210C: Wait();
- 0000210C: Write(Read(3), Read(4));
- 0000210C: kernel_unknown_0x330();
- 0000210C: kernel_unknown_0x20F();
- 0000210C: kernel_unknown_0x334();
- 0000210C: Write(Read(1008), 0);
- 0000210C: Write(Read(1009), 0);
- 0000210C: kernel_unknown_0x30E();
- 0000210C: PlaySoundEffect(276);
- 0000210C: SetWaitFrames(18);
- 0000210C: Wait();
- 0000210C: SetBattleLock(1);
- 0000210C: kernel_unknown_0x30E();
- 0000210C: kernel_unknown_0x332();
- 0000210C: SetControlLock(1);
- 0000210C: }
- 0000210C: }
- 0000214D: return;
- 000012FA: SetControlLock(0);
- 000012FA: SetBattleLock(0);
- 000012FA: kernel_unknown_0x321();
- 000012FA: if (Read(7202)) {
- 0000130B: WaitForWindowReady();
- 0000130D: SetWindowDimensions(118, 160, 84, 25);
- 0000130D: SetWindowParameters(0, 1);
- 0000130D: WaitForWindowReady();
- 0000130D: SetWindowMessage(32);
- 00001325: kernel_unknown_0x30E();
- 00001325: SetActiveEntityMovespeed(20);
- 00001325: SetWaitFrames(30);
- 00001325: Wait();
- 00001325: WaitForWindowReady();
- 00001325: PlaySoundEffect(276);
- 00001325: kernel_unknown_0x30E();
- 00001325: SetActiveEntityMovespeed(20);
- 00001346: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001348: if (!Read(13)) {
- 0000134D: SetWaitFrames(1);
- 0000134D: Wait();
- 0000134D: goto 0x1347;
- 00001353: }
- 00001354: SetActiveEntityMovespeed(0);
- 00001354: SetWaitFrames(30);
- 00001354: Wait();
- 00001362: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001363: WaitForWindowReady();
- 00001365: SetWindowDimensions(88, 160, 144, 25);
- 00001365: SetWindowParameters(0, 0);
- 00001365: WaitForWindowReady();
- 00001365: SetWindowMessage(33);
- 00001365: WaitForMessageAcknowledge();
- 00001365: Write(Read(7202), 1);
- 00001382: } else {
- 00001383: PlaySoundEffect(276);
- 00001383: kernel_unknown_0x30E();
- 00001383: SetActiveEntityMovespeed(40);
- 00001396: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001398: if (!Read(13)) {
- 0000139D: SetWaitFrames(1);
- 0000139D: Wait();
- 0000139D: goto 0x1397;
- 000013A3: }
- 000013A4: SetActiveEntityMovespeed(0);
- 000013A4: SetWaitFrames(10);
- 000013A4: Wait();
- 000013B2: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000013B4: if (Read(7203)) {
- 000013BA: SetWaitFrames(30);
- 000013BA: Wait();
- 000013BA: WaitForWindowReady();
- 000013BA: SetWindowDimensions(88, 160, 144, 25);
- 000013BA: SetWindowParameters(0, 0);
- 000013BA: WaitForWindowReady();
- 000013BA: SetWindowMessage(33);
- 000013BA: WaitForMessageAcknowledge();
- 000013BA: Write(Read(7203), 1);
- 000013BA: }
- 000013DB: }
- 000013DC: SetBattleLock(1);
- 000013DC: SetControlLock(1);
- 000013DC: return;
- 00002248: if (Read(5) != 0) {
- 00002250: if (Read(6) != 40) {
- 00002258: if (Read(7216)) {
- 0000225E: SetControlLock(0);
- 0000225E: Write(Read(7216), 1);
- 0000225E: SetWaitFrames(30);
- 0000225E: Wait();
- 0000225E: WaitForWindowReady();
- 0000225E: SetWindowDimensions(25, 5, 270, 121);
- 0000225E: SetWindowParameters(0, 0);
- 0000225E: WaitForWindowReady();
- 0000225E: SetWindowMessage(58);
- 0000225E: WaitForMessageAcknowledge();
- 0000225E: SetControlLock(1);
- 00002287: }
- 00002287: }
- 00002287: }
- 00002288: if (!Read(0) unknown_operation 641) {
- 00002290: if (!Read(3708)) {
- 00002295: kernel_unknown_0x308();
- 00002295: kernel_unknown_0x309();
- 00002295: SetActiveEntityDirectionAndFacing(128);
- 000022A4: }
- 000022A4: }
- 000022A4: return;
- 000022B1: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000022BA: if (!Read(3704)) {
- 000022BF: if (Read(3710)) {
- 000022C5: if (!Read(3709)) {
- 000022CA: SetControlLock(0);
- 000022CA: SetBattleLock(0);
- 000022CA: SetWaitFrames(20);
- 000022CA: Wait();
- 000022CA: kernel_unknown_0x330();
- 000022CA: kernel_unknown_0x210();
- 000022E0: } else {
- 000022E0: kernel_unknown_0x30C();
- 000022E0: }
- 000022E3: } else {
- 000022E3: kernel_unknown_0x30C();
- 000022E3: }
- 000022E6: } else {
- 000022E6: kernel_unknown_0x30C();
- 000022E6: }
- 000022E7: }
- 000022E7: return;
- 000022E9: Write(Read(3708), 0);
- 000022E9: return;
- 000021C7: if (Read(7213)) {
- 000021CD: SetControlLock(0);
- 000021CD: Write(Read(7213), 1);
- 000021CD: SetWaitFrames(30);
- 000021CD: Wait();
- 000021CD: WaitForWindowReady();
- 000021CD: SetWindowDimensions(20, 5, 280, 137);
- 000021CD: SetWindowParameters(0, 0);
- 000021CD: WaitForWindowReady();
- 000021CD: SetWindowMessage(57);
- 000021CD: WaitForMessageAcknowledge();
- 000021CD: SetControlLock(1);
- 000021F6: }
- 000021F6: return;
- 000021C5: return;
- 00002203: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 0000220C: if (!Read(3705)) {
- 00002211: if (!Read(3706)) {
- 00002215: kernel_unknown_0x30C();
- 00002217: if (Read(8) != 6) {
- 0000221F: Write(Read(1017), 1);
- 00002224: }
- 00002226: } else {
- 00002227: kernel_unknown_0x330();
- 00002227: kernel_unknown_0x214();
- 00002227: }
- 00002230: } else {
- 00002230: kernel_unknown_0x30C();
- 00002232: if (Read(8) != 6) {
- 0000223A: Write(Read(1017), 1);
- 0000223A: }
- 0000223F: }
- 0000223F: }
- 0000223F: return;
- 00002241: Write(Read(1017), 0);
- 00002241: return;
- 000015C3: SetControlLock(0);
- 000015C3: SetBattleLock(0);
- 000015C3: kernel_unknown_0x30E();
- 000015C3: PlaySoundEffect(144);
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(14);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: SetWaitFrames(20);
- 000015C3: Wait();
- 000015C3: WaitForWindowReady();
- 000015C3: SetWindowDimensions(137, 160, 46, 25);
- 000015C3: SetWindowParameters(0, 0);
- 000015C3: WaitForWindowReady();
- 000015C3: SetWindowMessage(34);
- 000015C3: WaitForMessageAcknowledge();
- 000015C3: PlaySoundEffect(144);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(100);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(0);
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(14);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(6);
- 000015C3: Wait();
- 000015C3: PlaySoundEffect(144);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(100);
- 000015C3: SetWaitFrames(2);
- 000015C3: Wait();
- 000015C3: SetActiveEntityMovespeed(0);
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(4);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(4);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(4);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: SetWaitFrames(60);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x34A();
- 000015C3: kernel_unknown_0x30E();
- 000015C3: PlaySoundEffect(250);
- 000015C3: SetWaitFrames(10);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x30E();
- 000015C3: SetWaitFrames(60);
- 000015C3: Wait();
- 000015C3: kernel_unknown_0x331();
- 000015C3: SetControlLock(0);
- 000015C3: SetWaitFrames(20);
- 000015C3: Wait();
- 000015C3: Write(Read(3705), 1);
- 000015C3: kernel_unknown_0x30E();
- 000015C3: kernel_unknown_0x330();
- 000015C3: kernel_unknown_0x215();
- 000015C3: return;
- 00002AFE: kernel_unknown_0x308();
- 00002AFE: kernel_unknown_0x309();
- 00002AFE: SetActiveEntityDirectionAndFacing(192);
- 00002AFE: return;
- 000026CF: if (Read(5) != 0) {
- 000026D7: if (Read(6) != 36) {
- 000026DF: Write(Read(909), Read(7));
- 000026DF: PlaySoundEffect(381);
- 000026DF: kernel_unknown_0x319();
- 000026DF: SetControlLock(0);
- 000026DF: kernel_unknown_0x31C();
- 000026DF: kernel_unknown_0x32F();
- 000026DF: kernel_unknown_0x308();
- 000026DF: kernel_unknown_0x309();
- 000026DF: SetActiveEntityDirectionAndFacing(192);
- 000026DF: kernel_unknown_0x31C();
- 000026DF: kernel_unknown_0x31F();
- 000026DF: kernel_unknown_0x329();
- 000026DF: kernel_unknown_0x32A();
- 000026DF: SetWaitFrames(130);
- 000026DF: Wait();
- 000026DF: kernel_unknown_0x31F();
- 000026DF: kernel_unknown_0x329();
- 000026DF: kernel_unknown_0x32A();
- 000026DF: SetActiveEntityMovespeed(10);
- 000026DF: SetWaitFrames(10);
- 000026DF: Wait();
- 000026DF: SetActiveEntityMovespeed(20);
- 000026DF: SetWaitFrames(10);
- 000026DF: Wait();
- 000026DF: SetActiveEntityMovespeed(30);
- 000026DF: SetWaitFrames(20);
- 000026DF: Wait();
- 000026DF: SetActiveEntityMovespeed(40);
- 000026DF: SetWaitFrames(95);
- 000026DF: Wait();
- 00002751: kernel_unknown_0x31F();
- 00002756: kernel_unknown_0x329();
- 00002758: SetWaitFrames(110);
- 00002758: Wait();
- 00002758: kernel_unknown_0x31F();
- 00002758: kernel_unknown_0x329();
- 00002758: Write(Read(896), 13);
- 0000276B: if (!Read(896)) {
- 00002775: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 00002777: SetWaitFrames(10);
- 00002777: Wait();
- 00002783: Write(Read(896), Read(896) - 1);
- 00002784: goto 0x276A;
- 00002786: }
- 00002787: kernel_unknown_0x31F();
- 00002787: SetWaitFrames(150);
- 00002787: Wait();
- 00002793: kernel_unknown_0x32A();
- 00002795: SetWaitFrames(160);
- 00002795: Wait();
- 00002795: kernel_unknown_0x32A();
- 00002795: Write(Read(3711), 0);
- 00002795: EnterFieldScene(36, 0);
- 000027AB: } else {
- 000027AC: if (Read(6) != 37) {
- 000027B4: PlaySoundEffect(381);
- 000027B4: kernel_unknown_0x319();
- 000027B4: SetControlLock(0);
- 000027B4: kernel_unknown_0x31C();
- 000027B4: kernel_unknown_0x32F();
- 000027B4: kernel_unknown_0x31C();
- 000027CF: kernel_unknown_0x329();
- 000027D1: kernel_unknown_0x308();
- 000027D1: kernel_unknown_0x309();
- 000027D1: SetActiveEntityDirectionAndFacing(153);
- 000027D1: SetActiveEntityMovespeed(40);
- 000027D1: SetWaitFrames(70);
- 000027D1: Wait();
- 000027ED: kernel_unknown_0x31F();
- 000027EF: kernel_unknown_0x329();
- 000027EF: SetWaitFrames(30);
- 000027EF: Wait();
- 000027EF: SetWaitFrames(100);
- 000027EF: Wait();
- 000027EF: SetWaitFrames(100);
- 000027EF: Wait();
- 000027EF: SetWaitFrames(100);
- 000027EF: Wait();
- 000027EF: SetWaitFrames(67);
- 000027EF: Wait();
- 000027EF: kernel_unknown_0x31F();
- 000027EF: SetActiveEntityMovespeed(30);
- 000027EF: SetWaitFrames(30);
- 000027EF: Wait();
- 000027EF: SetActiveEntityMovespeed(20);
- 000027EF: SetWaitFrames(65);
- 000027EF: Wait();
- 000027EF: SetActiveEntityMovespeed(0);
- 000027EF: SetWaitFrames(30);
- 000027EF: Wait();
- 000027EF: Write(Read(896), 35);
- 00002831: if (!Read(896)) {
- 0000283B: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 0000283D: SetWaitFrames(5);
- 0000283D: Wait();
- 00002849: Write(Read(896), Read(896) - 1);
- 0000284A: goto 0x2830;
- 0000284C: }
- 0000284D: SetWaitFrames(20);
- 0000284D: Wait();
- 0000284D: SetActiveEntityDirectionAndFacing(48);
- 0000284D: SetActiveEntityDirection(176);
- 0000284D: SetActiveEntityMovespeed(20);
- 0000284D: SetWaitFrames(115);
- 0000284D: Wait();
- 0000284D: SetActiveEntityMovespeed(0);
- 0000284D: kernel_unknown_0x329();
- 0000284D: SetWaitFrames(20);
- 0000284D: Wait();
- 0000284D: Write(Read(3711), 0);
- 0000284D: EnterFieldScene(37, 0);
- 0000284D: kernel_unknown_0x319();
- 00002881: } else {
- 00002882: if (Read(6) != 38) {
- 0000288A: Write(Read(909), Read(7));
- 0000288A: PlaySoundEffect(381);
- 0000288A: kernel_unknown_0x319();
- 0000288A: SetControlLock(0);
- 0000288A: kernel_unknown_0x31C();
- 0000288A: kernel_unknown_0x32F();
- 0000288A: kernel_unknown_0x31C();
- 000028AB: kernel_unknown_0x329();
- 000028AD: kernel_unknown_0x308();
- 000028AD: kernel_unknown_0x309();
- 000028AD: SetActiveEntityDirectionAndFacing(192);
- 000028AD: SetWaitFrames(10);
- 000028AD: Wait();
- 000028AD: kernel_unknown_0x329();
- 000028C9: kernel_unknown_0x31F();
- 000028CB: SetActiveEntityMovespeed(10);
- 000028CB: SetWaitFrames(10);
- 000028CB: Wait();
- 000028CB: SetActiveEntityMovespeed(20);
- 000028CB: SetWaitFrames(10);
- 000028CB: Wait();
- 000028CB: SetActiveEntityMovespeed(30);
- 000028CB: SetWaitFrames(20);
- 000028CB: Wait();
- 000028CB: SetActiveEntityMovespeed(40);
- 000028CB: SetWaitFrames(100);
- 000028CB: Wait();
- 000028CB: SetWaitFrames(50);
- 000028CB: Wait();
- 000028CB: Write(Read(896), 8);
- 000028FA: if (!Read(896)) {
- 00002904: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 00002906: SetWaitFrames(10);
- 00002906: Wait();
- 00002912: Write(Read(896), Read(896) - 1);
- 00002913: goto 0x28F9;
- 00002915: }
- 00002916: kernel_unknown_0x31F();
- 00002916: Write(Read(896), 5);
- 00002920: if (!Read(896)) {
- 0000292A: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 0000292C: SetWaitFrames(10);
- 0000292C: Wait();
- 00002938: Write(Read(896), Read(896) - 1);
- 00002939: goto 0x291F;
- 0000293B: }
- 0000293C: SetWaitFrames(100);
- 0000293C: Wait();
- 0000293C: SetWaitFrames(100);
- 0000293C: Wait();
- 0000293C: SetWaitFrames(100);
- 0000293C: Wait();
- 0000293C: SetWaitFrames(100);
- 0000293C: Wait();
- 0000293C: SetWaitFrames(65);
- 0000293C: Wait();
- 0000293C: SetActiveEntityMovespeed(30);
- 0000293C: SetWaitFrames(30);
- 0000293C: Wait();
- 0000293C: SetActiveEntityMovespeed(20);
- 0000293C: SetWaitFrames(65);
- 0000293C: Wait();
- 0000293C: SetActiveEntityMovespeed(0);
- 0000293C: SetWaitFrames(30);
- 0000293C: Wait();
- 0000293C: Write(Read(896), 35);
- 00002976: if (!Read(896)) {
- 00002980: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 00002982: SetWaitFrames(5);
- 00002982: Wait();
- 0000298E: Write(Read(896), Read(896) - 1);
- 0000298F: goto 0x2975;
- 00002991: }
- 00002992: SetWaitFrames(20);
- 00002992: Wait();
- 00002992: SetActiveEntityDirectionAndFacing(48);
- 00002992: SetActiveEntityDirection(176);
- 00002992: SetActiveEntityMovespeed(20);
- 00002992: SetWaitFrames(115);
- 00002992: Wait();
- 00002992: SetActiveEntityMovespeed(0);
- 00002992: kernel_unknown_0x329();
- 00002992: SetWaitFrames(20);
- 00002992: Wait();
- 00002992: Write(Read(3711), 0);
- 00002992: EnterFieldScene(38, 0);
- 00002992: kernel_unknown_0x319();
- 000029C6: } else {
- 000029C7: if (Read(6) != 39) {
- 000029CF: Write(Read(909), Read(7));
- 000029CF: PlaySoundEffect(381);
- 000029CF: kernel_unknown_0x319();
- 000029CF: SetControlLock(0);
- 000029CF: kernel_unknown_0x31C();
- 000029CF: kernel_unknown_0x32F();
- 000029CF: kernel_unknown_0x31C();
- 000029F0: kernel_unknown_0x329();
- 000029F2: kernel_unknown_0x308();
- 000029F2: kernel_unknown_0x309();
- 000029F2: SetActiveEntityDirectionAndFacing(52);
- 000029F2: SetWaitFrames(10);
- 000029F2: Wait();
- 000029F2: kernel_unknown_0x329();
- 000029F2: kernel_unknown_0x31F();
- 000029F2: SetActiveEntityMovespeed(10);
- 000029F2: SetWaitFrames(10);
- 000029F2: Wait();
- 000029F2: SetActiveEntityMovespeed(20);
- 000029F2: SetWaitFrames(10);
- 000029F2: Wait();
- 000029F2: SetActiveEntityMovespeed(30);
- 000029F2: SetWaitFrames(20);
- 000029F2: Wait();
- 000029F2: SetActiveEntityMovespeed(40);
- 000029F2: SetWaitFrames(100);
- 000029F2: Wait();
- 000029F2: SetWaitFrames(100);
- 000029F2: Wait();
- 000029F2: SetWaitFrames(100);
- 000029F2: Wait();
- 000029F2: SetWaitFrames(100);
- 000029F2: Wait();
- 000029F2: SetWaitFrames(20);
- 000029F2: Wait();
- 000029F2: Write(Read(896), 13);
- 00002A4D: if (!Read(896)) {
- 00002A57: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 00002A59: SetWaitFrames(10);
- 00002A59: Wait();
- 00002A65: Write(Read(896), Read(896) - 1);
- 00002A66: goto 0x2A4C;
- 00002A68: }
- 00002A69: SetWaitFrames(100);
- 00002A69: Wait();
- 00002A69: kernel_unknown_0x31F();
- 00002A69: SetWaitFrames(100);
- 00002A69: Wait();
- 00002A69: SetWaitFrames(74);
- 00002A69: Wait();
- 00002A69: SetActiveEntityMovespeed(30);
- 00002A69: SetWaitFrames(30);
- 00002A69: Wait();
- 00002A69: SetActiveEntityMovespeed(20);
- 00002A69: SetWaitFrames(65);
- 00002A69: Wait();
- 00002A69: SetActiveEntityMovespeed(0);
- 00002A69: SetWaitFrames(30);
- 00002A69: Wait();
- 00002A69: Write(Read(896), 26);
- 00002A9D: if (!Read(896)) {
- 00002AA7: SetActiveEntityDirectionAndFacing(Read(4) - 3);
- 00002AA9: SetWaitFrames(5);
- 00002AA9: Wait();
- 00002AB5: Write(Read(896), Read(896) - 1);
- 00002AB6: goto 0x2A9C;
- 00002AB8: }
- 00002AB9: SetWaitFrames(20);
- 00002AB9: Wait();
- 00002AB9: SetActiveEntityDirectionAndFacing(191);
- 00002AB9: SetActiveEntityDirection(63);
- 00002AB9: SetActiveEntityMovespeed(20);
- 00002AB9: SetWaitFrames(100);
- 00002AB9: Wait();
- 00002AB9: kernel_unknown_0x329();
- 00002AB9: SetActiveEntityMovespeed(0);
- 00002AB9: SetWaitFrames(20);
- 00002AB9: Wait();
- 00002AB9: Write(Read(3711), 0);
- 00002AB9: EnterFieldScene(39, 0);
- 00002AB9: kernel_unknown_0x319();
- 00002AB9: }
- 00002AB9: }
- 00002AB9: }
- 00002AEB: }
- 00002AEB: }
- 00002AEB: return;
- 00001ED6: if (!Read(6803)) {
- 00001EDB: if (Read(7205)) {
- 00001EE1: kernel_unknown_0x308();
- 00001EE1: kernel_unknown_0x309();
- 00001EE1: SetActiveEntityDirectionAndFacing(23);
- 00001EF4: kernel_unknown_0x30B();
- 00001EF7: } else {
- 00001EF8: if (Read(7206)) {
- 00001EFE: kernel_unknown_0x308();
- 00001EFE: kernel_unknown_0x309();
- 00001F0D: kernel_unknown_0x30B();
- 00001F0F: kernel_unknown_0x34D();
- 00001F0F: kernel_unknown_0x30E();
- 00001F0F: if (Read(7207)) {
- 00001F23: PlaySoundEffect(432);
- 00001F23: Write(Read(7207), 1);
- 00001F2C: }
- 00001F2D: Write(Read(7206), 1);
- 00001F34: } else {
- 00001F35: if (Read(7208)) {
- 00001F3B: kernel_unknown_0x30E();
- 00001F3B: if (!Read(912) < 3686) {
- 00001F49: kernel_unknown_0x34D();
- 00001F52: } else {
- 00001F53: kernel_unknown_0x34E();
- 00001F53: }
- 00001F58: } else {
- 00001F59: SetActiveEntityMovespeed(0);
- 00001F59: }
- 00001F59: }
- 00001F59: }
- 00001F5C: }
- 00001F5C: return;
- 00001DE7: if (Read(8) != 3) {
- 00001DEF: if (!Read(7206)) {
- 00001DF4: kernel_unknown_0x19();
- 00001DF4: if (!Read(8) <= 120) {
- 00001DFD: kernel_unknown_0x21A();
- 00001E00: }
- 00001E00: }
- 00001E00: }
- 00001E01: if (!Read(6803)) {
- 00001E06: if (!Read(7205)) {
- 00001E0B: if (!Read(912) < 2800) {
- 00001E16: kernel_unknown_0x30B();
- 00001E18: SetActiveEntityMovespeed(8);
- 00001E18: SetActiveEntityDirectionAndFacing(32);
- 00001E21: } else {
- 00001E22: if (!Read(912) < 2885) {
- 00001E2D: kernel_unknown_0x30B();
- 00001E2F: SetActiveEntityMovespeed(1);
- 00001E3B: SetActiveEntityDirectionAndFacing(2928 - Read(912) << 2);
- 00001E3E: } else {
- 00001E3F: if (!Read(912) < 3686) {
- 00001E4F: kernel_unknown_0x30B();
- 00001E51: SetActiveEntityMovespeed(8);
- 00001E51: SetActiveEntityDirectionAndFacing(11);
- 00001E5A: } else {
- 00001E5B: if (!Read(912) < 4036) {
- 00001E63: kernel_unknown_0x30B();
- 00001E63: SetActiveEntityMovespeed(8);
- 00001E63: if (!Read(912) unknown_operation 3686) {
- 00001E73: kernel_unknown_0x34E();
- 00001E76: }
- 00001E77: SetActiveEntityDirectionAndFacing(11);
- 00001E7C: } else {
- 00001E7D: if (Read(912) != 4036) {
- 00001E85: if (Read(7208)) {
- 00001E8B: kernel_unknown_0x30B();
- 00001E8B: kernel_unknown_0x30E();
- 00001E8B: SetWaitFrames(20);
- 00001E8B: Wait();
- 00001E8B: PlaySoundEffect(432);
- 00001E8B: SetActiveEntityMovespeed(0);
- 00001E8B: Write(Read(7208), 1);
- 00001E8B: SetWaitFrames(120);
- 00001E8B: Wait();
- 00001EAE: } else {
- 00001EAF: kernel_unknown_0x30B();
- 00001EAF: SetActiveEntityMovespeed(0);
- 00001EAF: }
- 00001EB8: } else {
- 00001EB9: if (!Read(912) unknown_operation 4037) {
- 00001EC1: Write(Read(912), 4037);
- 00001EC1: }
- 00001EC1: }
- 00001EC1: }
- 00001EC1: }
- 00001EC1: }
- 00001EC6: }
- 00001EC6: }
- 00001EC6: }
- 00001ECE: Write(Read(912), Read(912) + 1);
- 00001ED0: SetWaitFrames(1);
- 00001ED0: Wait();
- 00001ED0: return;
- 00001F69: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00001F72: SetWaitFrames(10);
- 00001F72: Wait();
- 00001F72: Write(Read(6803), 0);
- 00001F72: Write(Read(7209), 1);
- 00001F72: EnterFieldScene(53, 0);
- 00001F88: }
- 00001F88: return;
- 00001D55: Write(Read(7205), 1);
- 00001D55: SetWaitFrames(30);
- 00001D55: Wait();
- 00001D63: kernel_unknown_0x30A();
- 00001D65: kernel_unknown_0x34D();
- 00001D65: SetWaitFrames(30);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x34D();
- 00001D65: PlaySoundEffect(306);
- 00001D65: SetWaitFrames(130);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x30A();
- 00001D65: kernel_unknown_0x34E();
- 00001D65: SetWaitFrames(30);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x30E();
- 00001D65: SetWaitFrames(30);
- 00001D65: Wait();
- 00001D65: PlaySoundEffect(432);
- 00001D65: SetWaitFrames(120);
- 00001D65: Wait();
- 00001D65: kernel_unknown_0x30E();
- 00001D65: SetActiveEntityMovespeed(4);
- 00001D65: kernel_unknown_0x34E();
- 00001D65: kernel_unknown_0x34D();
- 00001D65: SetWaitFrames(100);
- 00001D65: Wait();
- 00001D65: SetWaitFrames(100);
- 00001D65: Wait();
- 00001D65: SetWaitFrames(100);
- 00001D65: Wait();
- 00001D65: FadeOut(16, 1);
- 00001D65: SetWaitFrames(50);
- 00001D65: Wait();
- 00001D65: EnterFieldScene(51, 0);
- 00001D65: kernel_unknown_0x319();
- 00001D65: SetControlLock(1);
- 00001D65: SetBattleLock(1);
- 00001D65: return;
- 00001C06: Write(Read(7227), 0);
- 00001C06: if (Read(5) != 1) {
- 00001C14: if (!Read(984)) {
- 00001C19: if (Read(7220)) {
- 00001C1F: if (!Read(7224)) {
- 00001C24: kernel_unknown_0x308();
- 00001C24: kernel_unknown_0x309();
- 00001C24: SetActiveEntityDirectionAndFacing(0);
- 00001C24: kernel_unknown_0x34F();
- 00001C37: }
- 00001C37: }
- 00001C37: }
- 00001C37: }
- 00001C38: if (Read(984)) {
- 00001C3E: if (!Read(7222)) {
- 00001C43: if (Read(916) != 9) {
- 00001C4B: kernel_unknown_0x308();
- 00001C4B: kernel_unknown_0x309();
- 00001C4B: kernel_unknown_0x34F();
- 00001C5C: } else {
- 00001C5D: if (Read(916) != 10) {
- 00001C65: kernel_unknown_0x308();
- 00001C65: kernel_unknown_0x309();
- 00001C65: kernel_unknown_0x34F();
- 00001C76: } else {
- 00001C77: if (Read(916) != 11) {
- 00001C7F: kernel_unknown_0x308();
- 00001C7F: kernel_unknown_0x309();
- 00001C7F: kernel_unknown_0x34F();
- 00001C90: } else {
- 00001C91: if (Read(916) != 12) {
- 00001C99: kernel_unknown_0x308();
- 00001C99: kernel_unknown_0x309();
- 00001C99: kernel_unknown_0x34F();
- 00001CAA: } else {
- 00001CAB: if (Read(916) != 13) {
- 00001CB3: kernel_unknown_0x308();
- 00001CB3: kernel_unknown_0x309();
- 00001CB3: kernel_unknown_0x34F();
- 00001CC4: } else {
- 00001CC5: if (Read(916) != 14) {
- 00001CCD: kernel_unknown_0x308();
- 00001CCD: kernel_unknown_0x309();
- 00001CCD: kernel_unknown_0x34F();
- 00001CDE: } else {
- 00001CDF: if (Read(916) != 15) {
- 00001CE7: kernel_unknown_0x308();
- 00001CE7: kernel_unknown_0x309();
- 00001CE7: kernel_unknown_0x34F();
- 00001CE7: }
- 00001CE7: }
- 00001CE7: }
- 00001CE7: }
- 00001CE7: }
- 00001CE7: }
- 00001CF6: }
- 00001CF8: } else {
- 00001CF9: if (!Read(986)) {
- 00001CFE: kernel_unknown_0x308();
- 00001CFE: kernel_unknown_0x309();
- 00001CFE: kernel_unknown_0x34F();
- 00001CFE: Write(Read(7224), 1);
- 00001D15: } else {
- 00001D16: if (Read(7219)) {
- 00001D1C: kernel_unknown_0x308();
- 00001D1C: kernel_unknown_0x309();
- 00001D1C: kernel_unknown_0x30B();
- 00001D2D: } else {
- 00001D2E: if (Read(7223)) {
- 00001D34: kernel_unknown_0x308();
- 00001D34: kernel_unknown_0x309();
- 00001D34: kernel_unknown_0x34F();
- 00001D34: SetActiveEntityDirectionAndFacing(Read(16));
- 00001D34: Write(Read(7223), 1);
- 00001D4F: } else {
- 00001D50: kernel_unknown_0x34F();
- 00001D50: }
- 00001D50: }
- 00001D50: }
- 00001D50: }
- 00001D53: }
- 00001D53: return;
- 000019A9: if (Read(8) != 3) {
- 000019B1: if (Read(7219)) {
- 000019B7: kernel_unknown_0x19();
- 000019B7: if (!Read(8) <= 200) {
- 000019C0: Write(Read(7219), 1);
- 000019C0: SetControlLock(0);
- 000019C0: kernel_unknown_0x30E();
- 000019C0: PlaySoundEffect(433);
- 000019C0: SetWaitFrames(35);
- 000019C0: Wait();
- 000019C0: TriggerBattle(281);
- 000019DC: }
- 000019DE: } else {
- 000019DF: if (!Read(986)) {
- 000019E4: kernel_unknown_0x19();
- 000019E4: if (!Read(8) <= 120) {
- 000019ED: Write(Read(7223), 0);
- 000019ED: Write(Read(7222), 0);
- 000019ED: Write(Read(916), 0);
- 000019ED: SetControlLock(0);
- 000019ED: kernel_unknown_0x30E();
- 000019ED: PlaySoundEffect(433);
- 000019ED: SetWaitFrames(35);
- 000019ED: Wait();
- 000019ED: TriggerBattle(287);
- 00001A15: }
- 00001A17: } else {
- 00001A18: kernel_unknown_0x19();
- 00001A18: if (!Read(8) <= 80) {
- 00001A21: if (!Read(7221)) {
- 00001A26: if (!Read(916) == 13 || Read(916) == 15) {
- 00001A34: Write(Read(7221), 0);
- 00001A34: Write(Read(7226), 0);
- 00001A34: Write(Read(7223), 0);
- 00001A34: Write(Read(7222), 0);
- 00001A34: Write(Read(916), 0);
- 00001A34: TriggerBattle(282);
- 00001A57: } else {
- 00001A58: if (Read(916) != 9) {
- 00001A60: Write(Read(7221), 0);
- 00001A60: Write(Read(7226), 0);
- 00001A60: Write(Read(7223), 0);
- 00001A60: Write(Read(7222), 0);
- 00001A60: Write(Read(916), 0);
- 00001A60: TriggerBattle(294);
- 00001A83: } else {
- 00001A84: if (Read(916) != 10) {
- 00001A8C: Write(Read(7221), 0);
- 00001A8C: Write(Read(7226), 0);
- 00001A8C: Write(Read(7223), 0);
- 00001A8C: Write(Read(7222), 0);
- 00001A8C: Write(Read(916), 0);
- 00001A8C: TriggerBattle(283);
- 00001AAF: } else {
- 00001AB0: if (Read(916) != 11) {
- 00001AB8: Write(Read(7221), 0);
- 00001AB8: Write(Read(7226), 0);
- 00001AB8: Write(Read(7223), 0);
- 00001AB8: Write(Read(7222), 0);
- 00001AB8: Write(Read(916), 0);
- 00001AB8: TriggerBattle(284);
- 00001ADB: } else {
- 00001ADC: if (Read(916) != 12) {
- 00001AE4: Write(Read(7221), 0);
- 00001AE4: Write(Read(7226), 0);
- 00001AE4: Write(Read(7223), 0);
- 00001AE4: Write(Read(7222), 0);
- 00001AE4: Write(Read(916), 0);
- 00001AE4: TriggerBattle(285);
- 00001B07: } else {
- 00001B08: if (Read(916) != 14) {
- 00001B10: Write(Read(7221), 0);
- 00001B10: Write(Read(7226), 0);
- 00001B10: Write(Read(7223), 0);
- 00001B10: Write(Read(7222), 0);
- 00001B10: Write(Read(916), 0);
- 00001B10: TriggerBattle(286);
- 00001B10: }
- 00001B10: }
- 00001B10: }
- 00001B10: }
- 00001B10: }
- 00001B31: }
- 00001B33: } else {
- 00001B34: kernel_unknown_0x21E();
- 00001B34: }
- 00001B34: }
- 00001B34: }
- 00001B37: }
- 00001B37: }
- 00001B38: if (!Read(7219)) {
- 00001B3D: if (Read(986)) {
- 00001B43: if (Read(7222)) {
- 00001B49: if (Read(911) != 5) {
- 00001B51: if (Read(7225)) {
- 00001B57: Write(Read(7225), 1);
- 00001B67: Write(Read(916), Read(16) * 7 << 8);
- 00001B70: Write(Read(916), Read(916) + 9);
- 00001B72: if (Read(916) != 0) {
- 00001B7A: Write(Read(916), 15);
- 00001B7F: }
- 00001B7F: }
- 00001B80: kernel_unknown_0x321();
- 00001B80: SetActiveEntityMovespeed(200);
- 00001B80: kernel_unknown_0x18();
- 00001B80: if (!Read(916) <= 150) {
- 00001B91: kernel_unknown_0x21D();
- 00001B94: }
- 00001B96: } else {
- 00001B97: if (Read(914) != 255) {
- 00001B9F: SetActiveEntityMovespeed(200);
- 00001B9F: kernel_unknown_0x321();
- 00001B9F: kernel_unknown_0x18();
- 00001B9F: if (!4 <= 255) {
- 00001BB0: Write(Read(914), 0);
- 00001BB5: }
- 00001BB7: } else {
- 00001BB8: if (!Read(910) < 50) {
- 00001BC0: SetActiveEntityMovespeed(200);
- 00001BC5: } else {
- 00001BC6: if (Read(910) != 70) {
- 00001BCE: SetActiveEntityDirectionAndFacing(Read(16));
- 00001BCE: Write(Read(910), 0);
- 00001BDF: Write(Read(914), Read(914) + 1);
- 00001BDF: }
- 00001BE0: }
- 00001BE8: Write(Read(910), Read(910) + 1);
- 00001BE8: }
- 00001BE8: }
- 00001BEB: } else {
- 00001BEC: kernel_unknown_0x21D();
- 00001BEC: }
- 00001BF1: } else {
- 00001BF2: kernel_unknown_0x30E();
- 00001BF2: }
- 00001BF9: } else {
- 00001BFA: kernel_unknown_0x30E();
- 00001BFA: }
- 00001C00: SetWaitFrames(1);
- 00001C00: Wait();
- 00001C00: return;
- 000018CE: SetActiveEntityMovespeed(0);
- 000018CE: if (Read(7226)) {
- 000018D8: kernel_unknown_0x30E();
- 000018D8: SetWaitFrames(28);
- 000018D8: Wait();
- 000018D8: Write(Read(7226), 1);
- 000018E8: }
- 000018E9: kernel_unknown_0x30E();
- 000018E9: if (Read(7227)) {
- 000018F5: kernel_unknown_0x34A();
- 000018F5: SetWaitFrames(20);
- 000018F5: Wait();
- 000018F5: kernel_unknown_0x34A();
- 000018F5: Write(Read(7227), 1);
- 00001907: }
- 00001908: Write(Read(911), 0);
- 00001908: Write(Read(7222), 1);
- 00001908: Write(Read(7221), 1);
- 00001908: Write(Read(7225), 0);
- 00001908: return;
- 00001921: SetActiveEntityMovespeed(0);
- 00001921: kernel_unknown_0x30E();
- 00001921: PlaySoundEffect(433);
- 00001921: FadeOut(250, 0);
- 00001921: SetWaitFrames(3);
- 00001921: Wait();
- 00001921: FadeIn(250, 0);
- 00001921: SetWaitFrames(1);
- 00001921: Wait();
- 00001921: kernel_unknown_0x219();
- 00001921: SetWaitFrames(40);
- 00001921: Wait();
- 00001921: kernel_unknown_0x30E();
- 00001921: SetWaitFrames(9);
- 00001921: Wait();
- 00001921: kernel_unknown_0x30E();
- 00001921: if (!Read(911) < 5) {
- 0000196E: Write(Read(911), Read(911) + 1);
- 0000196F: }
- 0000196F: return;
- 00001971: kernel_unknown_0x30E();
- 00001971: PlaySoundEffect(266);
- 00001971: SetWaitFrames(80);
- 00001971: Wait();
- 00001971: kernel_unknown_0x30A();
- 00001971: SetWaitFrames(100);
- 00001971: Wait();
- 00001971: FadeOut(8, 0);
- 00001971: PlaySoundEffect(0);
- 00001971: SetWaitFrames(100);
- 00001971: Wait();
- 00001971: FadeIn(8, 0);
- 00001971: kernel_unknown_0x33D();
- 00001971: Write(Read(7220), 1);
- 00001971: return;
- 00002B25: kernel_unknown_0x308();
- 00002B25: kernel_unknown_0x309();
- 00002B25: SetActiveEntityDirectionAndFacing(0);
- 00002B25: return;
- 000025D7: if (!Read(6787)) {
- 000025DC: if (Read(978)) {
- 000025E2: SetControlLock(0);
- 000025E2: SetBattleLock(0);
- 000025E2: SetWaitFrames(30);
- 000025E2: Wait();
- 000025E2: SetActiveEntityMovespeed(40);
- 000025E2: SetActiveEntityDirectionAndFacing(64);
- 000025E2: SetWaitFrames(75);
- 000025E2: Wait();
- 000025E2: SetActiveEntityMovespeed(0);
- 000025E2: SetWaitFrames(10);
- 000025E2: Wait();
- 000025E2: kernel_unknown_0x331();
- 000025E2: kernel_unknown_0x330();
- 000025E2: SetControlLock(0);
- 000025E2: SetWaitFrames(20);
- 000025E2: Wait();
- 000025E2: WaitForWindowReady();
- 000025E2: SetWindowDimensions(40, 5, 240, 137);
- 000025E2: SetWindowParameters(0, 0);
- 000025E2: WaitForWindowReady();
- 000025E2: SetWindowMessage(61);
- 000025E2: WaitForMessageAcknowledge();
- 000025E2: SetBattleLock(1);
- 000025E2: SetControlLock(1);
- 000025E2: Write(Read(978), 1);
- 00002637: }
- 00002639: } else {
- 0000263A: if (!Read(6802)) {
- 0000263F: if (Read(5) != 0) {
- 00002647: if (Read(6) != 54) {
- 0000264F: if (Read(7217)) {
- 00002655: SetControlLock(0);
- 00002655: SetBattleLock(0);
- 00002655: SetWaitFrames(50);
- 00002655: Wait();
- 00002655: SetActiveEntityMovespeed(40);
- 00002655: SetActiveEntityDirectionAndFacing(0);
- 00002655: SetWaitFrames(105);
- 00002655: Wait();
- 00002655: SetActiveEntityMovespeed(40);
- 00002655: SetActiveEntityDirectionAndFacing(64);
- 00002655: SetWaitFrames(52);
- 00002655: Wait();
- 00002655: SetActiveEntityMovespeed(0);
- 00002655: SetWaitFrames(10);
- 00002655: Wait();
- 00002655: kernel_unknown_0x331();
- 00002655: kernel_unknown_0x330();
- 00002655: SetControlLock(0);
- 00002655: SetWaitFrames(20);
- 00002655: Wait();
- 00002655: WaitForWindowReady();
- 00002655: SetWindowDimensions(40, 5, 240, 137);
- 00002655: SetWindowParameters(0, 0);
- 00002655: WaitForWindowReady();
- 00002655: SetWindowMessage(61);
- 00002655: WaitForMessageAcknowledge();
- 00002655: SetBattleLock(1);
- 00002655: SetControlLock(1);
- 00002655: Write(Read(7217), 1);
- 00002655: }
- 000026B7: }
- 000026B7: }
- 000026B7: }
- 000026B7: }
- 000026B7: return;
- 000026C4: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000026CC: kernel_unknown_0x30C();
- 000026CD: }
- 000026CD: return;
- 00002B36: kernel_unknown_0x308();
- 00002B36: kernel_unknown_0x309();
- 00002B36: SetActiveEntityDirectionAndFacing(0);
- 00002B36: return;
- 00002B47: kernel_unknown_0x308();
- 00002B47: kernel_unknown_0x309();
- 00002B47: SetActiveEntityDirectionAndFacing(0);
- 00002B47: return;
- 00002B58: kernel_unknown_0x308();
- 00002B58: kernel_unknown_0x309();
- 00002B58: SetActiveEntityDirectionAndFacing(0);
- 00002B58: return;
- 0000214F: if (Read(0) != 1250) {
- 00002157: if (!Read(0) == 26 && Read(1) == 24) {
- 0000216F: if (!512 unknown_operation 5778 && 512 <= 7473) {
- 0000217D: if (!768 unknown_operation 4200 && 768 <= 5820) {
- 00002181: kernel_unknown_0x308();
- 00002181: kernel_unknown_0x309();
- 0000218C: }
- 0000218C: }
- 0000218C: }
- 0000218C: }
- 0000218C: return;
- 00002199: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000021A2: kernel_unknown_0x217();
- 000021A5: }
- 000021A5: return;
- 000021A7: SetWaitFrames(5);
- 000021A7: Wait();
- 000021A7: Write(Read(3), Read(4));
- 000021A7: kernel_unknown_0x330();
- 000021A7: kernel_unknown_0x20F();
- 000021A7: kernel_unknown_0x334();
- 000021A7: Write(Read(1009), 0);
- 000021A7: SetControlLock(1);
- 000021A7: return;
- 000013E5: if (Read(1014)) {
- 000013EB: SetControlLock(0);
- 000013EB: SetBattleLock(0);
- 000013EB: kernel_unknown_0x321();
- 000013EB: if (Read(7202)) {
- 000013FC: WaitForWindowReady();
- 000013FE: SetWindowDimensions(118, 160, 84, 25);
- 000013FE: SetWindowParameters(0, 1);
- 000013FE: WaitForWindowReady();
- 000013FE: SetWindowMessage(32);
- 00001416: kernel_unknown_0x30E();
- 00001416: SetActiveEntityMovespeed(20);
- 00001416: SetWaitFrames(30);
- 00001416: Wait();
- 00001416: WaitForWindowReady();
- 00001416: PlaySoundEffect(276);
- 00001416: kernel_unknown_0x30E();
- 00001416: SetActiveEntityMovespeed(20);
- 00001437: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001439: if (!Read(13)) {
- 0000143E: SetWaitFrames(1);
- 0000143E: Wait();
- 0000143E: goto 0x1438;
- 00001444: }
- 00001445: SetActiveEntityMovespeed(0);
- 00001445: SetWaitFrames(30);
- 00001445: Wait();
- 00001453: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001454: WaitForWindowReady();
- 00001456: SetWindowDimensions(88, 160, 144, 25);
- 00001456: SetWindowParameters(0, 0);
- 00001456: WaitForWindowReady();
- 00001456: SetWindowMessage(33);
- 00001456: WaitForMessageAcknowledge();
- 00001456: Write(Read(7202), 1);
- 00001473: } else {
- 00001474: PlaySoundEffect(276);
- 00001474: kernel_unknown_0x30E();
- 00001474: SetActiveEntityMovespeed(40);
- 00001487: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 00001489: if (!Read(13)) {
- 0000148E: SetWaitFrames(1);
- 0000148E: Wait();
- 0000148E: goto 0x1488;
- 00001494: }
- 00001495: SetActiveEntityMovespeed(0);
- 00001495: SetWaitFrames(10);
- 00001495: Wait();
- 000014A3: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000014A5: if (Read(7203)) {
- 000014AB: SetWaitFrames(30);
- 000014AB: Wait();
- 000014AB: WaitForWindowReady();
- 000014AB: SetWindowDimensions(88, 160, 144, 25);
- 000014AB: SetWindowParameters(0, 0);
- 000014AB: WaitForWindowReady();
- 000014AB: SetWindowMessage(33);
- 000014AB: WaitForMessageAcknowledge();
- 000014AB: Write(Read(7203), 1);
- 000014AB: }
- 000014CC: }
- 000014CD: SetBattleLock(1);
- 000014CD: SetControlLock(1);
- 000014D4: }
- 000014D4: return;
- 0000185A: PlaySoundEffect(11);
- 0000185A: SetControlLock(0);
- 0000185A: SetActiveEntityMovespeed(20);
- 0000185A: SetActiveEntityDirectionAndFacing(Read(4));
- 0000186F: SetActiveEntityDirection(Read(4) + 128);
- 00001871: FadeOut(250, 0);
- 00001871: SetWaitFrames(3);
- 00001871: Wait();
- 00001871: FadeIn(250, 0);
- 00001871: SetWaitFrames(2);
- 00001871: Wait();
- 00001871: SetActiveEntityMovespeed(0);
- 00001871: return;
- 000018AD: PlaySoundEffect(11);
- 000018AD: SetControlLock(0);
- 000018AD: SetActiveEntityMovespeed(20);
- 000018AD: SetActiveEntityDirectionAndFacing(Read(4));
- 000018C2: SetActiveEntityDirection(Read(4) + 128);
- 000018C4: SetWaitFrames(5);
- 000018C4: Wait();
- 000018C4: SetActiveEntityMovespeed(0);
- 000018C4: return;
- 000024A5: kernel_unknown_0x351();
- 000024A5: SetControlLock(0);
- 000024A5: SetBattleLock(0);
- 000024A5: SetWaitFrames(60);
- 000024A5: Wait();
- 000024BB: SetActiveEntityDirectionAndFacing(Read(4) + 128);
- 000024BD: SetActiveEntityMovespeed(20);
- 000024BD: SetWaitFrames(10);
- 000024BD: Wait();
- 000024BD: SetActiveEntityMovespeed(0);
- 000024BD: WaitForWindowReady();
- 000024BD: SetWindowDimensions(122, 160, 76, 41);
- 000024BD: SetWindowParameters(0, 0);
- 000024BD: WaitForWindowReady();
- 000024BD: SetWindowMessage(55);
- 000024BD: WaitForMessageAcknowledge();
- 000024BD: SetWaitFrames(20);
- 000024BD: Wait();
- 000024BD: kernel_unknown_0x352();
- 000024BD: PlaySoundEffect(383);
- 000024BD: SetWaitFrames(20);
- 000024BD: Wait();
- 000024BD: kernel_unknown_0x351();
- 000024BD: kernel_unknown_0x33E();
- 000024BD: SetWaitFrames(40);
- 000024BD: Wait();
- 000024BD: WaitForWindowReady();
- 000024BD: SetWindowDimensions(90, 160, 140, 41);
- 000024BD: SetWindowParameters(0, 0);
- 000024BD: WaitForWindowReady();
- 000024BD: SetWindowMessage(56);
- 000024BD: WaitForMessageAcknowledge();
- 000024BD: SetWaitFrames(30);
- 000024BD: Wait();
- 000024BD: kernel_unknown_0x33D();
- 000024BD: SetControlLock(1);
- 000024BD: SetBattleLock(1);
- 000024BD: return;
- 00002B0F: kernel_unknown_0x308();
- 00002B0F: kernel_unknown_0x309();
- 00002B0F: SetActiveEntityDirectionAndFacing(251);
- 00002B22: kernel_unknown_0x30B();
- 00002B23: return;
- 00002B69: kernel_unknown_0x308();
- 00002B69: kernel_unknown_0x309();
- 00002B69: kernel_unknown_0x30B();
- 00002B69: return;
- 00002B95: kernel_unknown_0x308();
- 00002B95: kernel_unknown_0x309();
- 00002B95: SetActiveEntityDirectionAndFacing(128);
- 00002B95: return;
- 00002B85: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002B8E: EnterFieldScene(55, 0);
- 00002B93: }
- 00002B93: return;
- 00003299: Write(Read(918), Read(16) * 3 << 8);
- 0000329B: if (Read(918) != 0) {
- 000032A3: kernel_unknown_0x308();
- 000032A3: kernel_unknown_0x309();
- 000032B0: } else {
- 000032B1: if (Read(918) != 1) {
- 000032B9: kernel_unknown_0x308();
- 000032B9: kernel_unknown_0x309();
- 000032C6: } else {
- 000032C7: if (Read(918) != 2) {
- 000032CF: kernel_unknown_0x308();
- 000032CF: kernel_unknown_0x309();
- 000032CF: }
- 000032CF: }
- 000032DA: }
- 000032DB: if (!Read(7229)) {
- 000032E0: kernel_unknown_0x30E();
- 000032E7: } else {
- 000032E8: kernel_unknown_0x30E();
- 000032E8: }
- 000032ED: return;
- 000031FB: kernel_unknown_0x19();
- 000031FB: if (!Read(8) unknown_operation 2000) {
- 00003204: Write(Read(7229), 0);
- 00003204: kernel_unknown_0x30E();
- 0000320F: }
- 00003210: if (!Read(8) == 3 || Read(8) == 19) {
- 0000321E: if (!Read(7229)) {
- 00003223: if (Read(8) != 3) {
- 0000322B: kernel_unknown_0x19();
- 0000322B: if (!Read(8) <= 100) {
- 00003234: SetControlLock(0);
- 00003234: Unknown333(Read(8), 0);
- 00003234: kernel_unknown_0x34A();
- 00003234: kernel_unknown_0x21C();
- 00003234: kernel_unknown_0x334();
- 00003234: SetWaitFrames(20);
- 00003234: Wait();
- 00003234: TriggerBattle(982);
- 0000324F: }
- 00003251: } else {
- 00003252: if (Read(8) != 19) {
- 0000325A: kernel_unknown_0x19();
- 0000325A: if (!Read(8) <= 80) {
- 00003263: SetControlLock(0);
- 00003263: Unknown333(Read(8), 0);
- 00003263: kernel_unknown_0x34A();
- 00003263: kernel_unknown_0x21C();
- 00003263: kernel_unknown_0x334();
- 00003263: SetWaitFrames(20);
- 00003263: Wait();
- 00003263: TriggerBattle(982);
- 00003263: }
- 0000327E: }
- 0000327E: }
- 00003280: } else {
- 00003281: kernel_unknown_0x19();
- 00003281: if (!Read(8) <= 130) {
- 0000328A: kernel_unknown_0x220();
- 0000328A: }
- 0000328D: }
- 0000328D: }
- 0000328D: return;
- 00003163: SetControlLock(0);
- 00003163: kernel_unknown_0x31C();
- 00003163: kernel_unknown_0x21B();
- 00003163: kernel_unknown_0x334();
- 00003163: WaitForWindowReady();
- 00003163: SetWindowDimensions(137, 160, 46, 25);
- 00003163: SetWindowParameters(0, 0);
- 00003163: WaitForWindowReady();
- 00003163: SetWindowMessage(34);
- 00003163: WaitForMessageAcknowledge();
- 00003163: kernel_unknown_0x352();
- 00003163: Unknown333(Read(8), 0);
- 00003163: PlaySoundEffect(383);
- 00003163: kernel_unknown_0x31F();
- 00003163: if (Read(8) != 3) {
- 000031A1: SetWaitFrames(25);
- 000031A1: Wait();
- 000031A7: } else {
- 000031A8: if (Read(8) != 19) {
- 000031B0: SetWaitFrames(15);
- 000031B0: Wait();
- 000031B0: }
- 000031B4: }
- 000031B5: kernel_unknown_0x31F();
- 000031B5: SetWaitFrames(25);
- 000031B5: Wait();
- 000031B5: kernel_unknown_0x34D();
- 000031B5: kernel_unknown_0x30E();
- 000031B5: PlaySoundEffect(433);
- 000031B5: SetWaitFrames(60);
- 000031B5: Wait();
- 000031B5: kernel_unknown_0x34E();
- 000031B5: kernel_unknown_0x34A();
- 000031B5: kernel_unknown_0x352();
- 000031B5: kernel_unknown_0x30E();
- 000031B5: SetWaitFrames(40);
- 000031B5: Wait();
- 000031B5: Write(Read(7229), 1);
- 000031B5: TriggerBattle(982);
- 000031B5: kernel_unknown_0x31C();
- 000031B5: return;
- 0000309A: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000030A3: EnterFieldScene(29, 0);
- 000030A8: }
- 000030A8: return;
- 0000311E: if (Read(8) != 0) {
- 00003126: EnterFieldScene(48, 0);
- 0000312B: }
- 0000312B: return;
- 000030FB: if (Read(8) != 0) {
- 00003103: EnterFieldScene(47, 0);
- 0000310A: } else {
- 0000310B: if (!Read(8) == 1 || Read(8) == 2) {
- 00003119: kernel_unknown_0x223();
- 00003119: }
- 0000311C: }
- 0000311C: return;
- 00003064: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 0000306D: EnterFieldScene(27, 0);
- 00003072: }
- 00003072: return;
- 0000307F: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00003088: EnterFieldScene(28, 0);
- 0000308D: }
- 0000308D: return;
- 00003049: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00003052: EnterFieldScene(26, 0);
- 00003057: }
- 00003057: return;
- 00003153: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 0000315C: EnterFieldScene(58, 0);
- 00003161: }
- 00003161: return;
- 00002FBF: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002FC8: if (!Read(0) < 1602) {
- 00002FD0: if (!Read(3704)) {
- 00002FD5: if (Read(3710)) {
- 00002FDB: if (Read(3709)) {
- 00002FE1: EnterFieldScene(23, 1);
- 00002FE8: } else {
- 00002FE9: EnterFieldScene(23, 0);
- 00002FE9: }
- 00002FF0: } else {
- 00002FF1: EnterFieldScene(23, 0);
- 00002FF1: }
- 00002FF8: } else {
- 00002FF9: EnterFieldScene(23, 0);
- 00002FF9: }
- 00003000: } else {
- 00003001: EnterFieldScene(23, 0);
- 00003001: }
- 00003006: }
- 00003006: return;
- 00003138: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00003141: EnterFieldScene(57, 0);
- 00003146: }
- 00003146: return;
- 0000302E: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00003037: EnterFieldScene(25, 0);
- 0000303C: }
- 0000303C: return;
- 00002FA4: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002FAD: EnterFieldScene(22, 0);
- 00002FB2: }
- 00002FB2: return;
- 00002D01: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002D0A: EnterFieldScene(2, 0);
- 00002D0F: }
- 00002D0F: return;
- 00002F5E: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002F67: if (!Read(0) unknown_operation 1308) {
- 00002F6F: EnterFieldScene(20, 1);
- 00002F76: } else {
- 00002F77: EnterFieldScene(20, 0);
- 00002F77: }
- 00002F7C: }
- 00002F7C: return;
- 00002EBB: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002EC4: EnterFieldScene(14, 0);
- 00002EC9: }
- 00002EC9: return;
- 00002CE6: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002CEF: EnterFieldScene(1, 0);
- 00002CF4: }
- 00002CF4: return;
- 00003013: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 0000301C: EnterFieldScene(24, 0);
- 00003021: }
- 00003021: return;
- 000030D0: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000030D9: EnterFieldScene(44, 0);
- 000030DE: }
- 000030DE: return;
- 00002ED6: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002EDF: if (!Read(9354)) {
- 00002EE4: EnterFieldScene(15, 1);
- 00002EEB: } else {
- 00002EEC: EnterFieldScene(15, 0);
- 00002EEC: }
- 00002EF1: }
- 00002EF1: return;
- 00002EA0: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2 || Read(8) == 6) {
- 00002EA9: EnterFieldScene(13, 0);
- 00002EAE: }
- 00002EAE: return;
- 000030EB: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000030F4: EnterFieldScene(46, 0);
- 000030F9: }
- 000030F9: return;
- 000030B5: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 000030BE: EnterFieldScene(43, 0);
- 000030C3: }
- 000030C3: return;
- 00002F43: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002F4C: EnterFieldScene(19, 0);
- 00002F51: }
- 00002F51: return;
- 00002E1E: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002E27: EnterFieldScene(9, 0);
- 00002E2C: }
- 00002E2C: return;
- 00002D1C: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002D25: if (!Read(1000)) {
- 00002D2A: EnterFieldScene(3, 1);
- 00002D31: } else {
- 00002D32: EnterFieldScene(3, 0);
- 00002D32: }
- 00002D39: } else {
- 00002D3A: if (Read(8) != 19) {
- 00002D42: Write(Read(1008), 0);
- 00002D42: Write(Read(1010), 0);
- 00002D42: Write(Read(1011), 0);
- 00002D42: Write(Read(1012), 0);
- 00002D42: Write(Read(1013), 0);
- 00002D42: Write(Read(1014), 0);
- 00002D42: Write(Read(1009), 0);
- 00002D42: Write(Read(124), 0);
- 00002D42: if (!Read(1000)) {
- 00002D77: EnterFieldScene(3, 1);
- 00002D7E: } else {
- 00002D7F: EnterFieldScene(3, 0);
- 00002D7F: }
- 00002D7F: }
- 00002D84: }
- 00002D84: return;
- 00002F89: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002F92: EnterFieldScene(21, 0);
- 00002F97: }
- 00002F97: return;
- 00002BB0: kernel_unknown_0x213();
- 00002BB0: return;
- 00002BBF: kernel_unknown_0x213();
- 00002BBF: return;
- 00002DE8: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2 || Read(8) == 6) {
- 00002DF1: EnterFieldScene(7, 0);
- 00002DF6: }
- 00002DF6: return;
- 00002E7F: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002E88: EnterFieldScene(12, 0);
- 00002E8D: }
- 00002E8D: return;
- 00002BA6: kernel_unknown_0x213();
- 00002BA6: return;
- 00002BB5: kernel_unknown_0x213();
- 00002BB5: return;
- 00002EF3: if (Read(8) != 6) {
- 00002EFB: EnterFieldScene(16, 0);
- 00002F00: }
- 00002F00: return;
- 00002BC4: kernel_unknown_0x213();
- 00002BC4: return;
- 00002BCE: Write(Read(7204), 1);
- 00002BCE: return;
- 00002BD5: Write(Read(7204), 0);
- 00002BD5: return;
- 00002BDC: if (Read(3707)) {
- 00002BF3: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2 || Read(8) == 4) {
- 00002BFC: EnterFieldScene(32, 0);
- 00002C01: }
- 00002C01: }
- 00002C01: return;
- 00002D91: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002D9A: EnterFieldScene(4, 0);
- 00002D9F: }
- 00002D9F: return;
- 00002C03: if (!Read(0) < 1602) {
- 00002C0B: if (!Read(3704)) {
- 00002C10: if (Read(3710)) {
- 00002C16: if (Read(3709)) {
- 00002C2D: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2 || Read(8) == 4) {
- 00002C36: EnterFieldScene(34, 0);
- 00002C3B: }
- 00002C3B: }
- 00002C3B: }
- 00002C3B: }
- 00002C3B: }
- 00002C3B: return;
- 00002BAB: kernel_unknown_0x213();
- 00002BAB: return;
- 00002BBA: kernel_unknown_0x213();
- 00002BBA: return;
- 00002BC9: kernel_unknown_0x213();
- 00002BC9: return;
- 00002DAC: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002DB5: EnterFieldScene(5, 0);
- 00002DBA: }
- 00002DBA: return;
- 00002C3D: if (Read(8) != 6) {
- 00002C45: if (Read(3705)) {
- 00002C4B: SetControlLock(0);
- 00002C4B: kernel_unknown_0x216();
- 00002C54: } else {
- 00002C55: if (Read(3706)) {
- 00002C5B: SetControlLock(0);
- 00002C5B: kernel_unknown_0x216();
- 00002C5B: }
- 00002C62: }
- 00002C62: }
- 00002C62: return;
- 00002F28: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002F31: EnterFieldScene(18, 0);
- 00002F36: }
- 00002F36: return;
- 00002DC7: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002DD0: EnterFieldScene(6, 0);
- 00002DD5: }
- 00002DD5: return;
- 00002E39: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002E42: EnterFieldScene(10, 0);
- 00002E47: }
- 00002E47: return;
- 00002F0D: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002F16: EnterFieldScene(17, 0);
- 00002F1B: }
- 00002F1B: return;
- 00002E03: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002E0C: EnterFieldScene(8, 0);
- 00002E11: }
- 00002E11: return;
- 00002E54: if (!Read(8) == 0 || Read(8) == 1 || Read(8) == 2) {
- 00002E5D: if (!Read(0) unknown_operation 1197) {
- 00002E65: EnterFieldScene(11, 1);
- 00002E6C: } else {
- 00002E6D: EnterFieldScene(11, 0);
- 00002E6D: }
- 00002E72: }
- 00002E72: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
- 00000200: return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement