Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function move()
- if emu.framecount() >= 183 and emu.framecount() <= 193 then
- memory.writebyte(0xAD, 2); end
- if emu.framecount() >= 194 and emu.framecount() <= 203 then
- memory.writebyte(0xAD, 3); end
- if emu.framecount() >= 204 and emu.framecount() <= 213 then
- memory.writebyte(0xAD, 4); end
- if emu.framecount() >= 214 and emu.framecount() <= 729 then
- memory.writebyte(0xAD, 5); end
- if emu.framecount() == 232 then
- memory.writebyte(0x89, 0); end
- if emu.framecount() >= 234 and emu.framecount() <= 244 then
- memory.writebyte(0xAD, 11); end
- if emu.framecount() == 272 then
- memory.writebyte(0x89, 0); end
- if emu.framecount() == 291 then
- memory.writebyte(0xAD, 3); end
- if emu.framecount() == 293 then
- memory.writebyte(0x89, 0); end
- if emu.framecount() == 294 then
- memory.writebyte(0xAD, 4); end
- if emu.framecount() >= 304 and emu.framecount() <= 309 then
- memory.writebyte(0x89, -13); end
- if emu.framecount() == 310 then
- memory.writebyte(0x89, 0); end
- if emu.framecount() == 348 then
- memory.writebyte(0xAD, 3); end
- if emu.framecount() >= 351 and emu.framecount() <= 353 then
- memory.writebyte(0x89, -14); end
- if emu.framecount() >= 359 and emu.framecount() <= 360 then
- memory.writebyte(0xAD, 15); end
- if emu.framecount() >= 356 and emu.framecount() <= 363 then
- memory.writebyte(0x89, 0); memory.writebyte(0x84, 4); end
- if emu.framecount() == 385 then
- memory.writebyte(0xAD, 4); end
- if emu.framecount() == 397 then
- memory.writebyte(0xAD, 9); end
- if emu.framecount() == 463 then
- memory.writebyte(0x84, 68); end
- if emu.framecount() == 464 then
- memory.writebyte(0x86, 238); memory.writebyte(0x89, 1); end
- if emu.framecount() == 466 then
- memory.writebyte(0x86, 128); memory.writebyte(0x84, 12); end
- if emu.framecount() >= 490 and emu.framecount() <= 500 then
- memory.writebyte(0xAD, 4); end
- if emu.framecount() == 521 then
- memory.writebyte(0x8A, 186); memory.writebyte(0x84, 68); end
- if emu.framecount() == 523 then
- memory.writebyte(0x8A, 186); memory.writebyte(0x84, 4); end
- if emu.framecount() == 526 then
- memory.writebyte(0x8A, 162); end
- if emu.framecount() == 535 then
- memory.writebyte(0xAD, 2); end
- if emu.framecount() == 556 then
- memory.writebyte(0x8A, 80); memory.writebyte(0x89, 1); end
- if emu.framecount() == 618 then
- memory.writebyte(0x86, 42); memory.writebyte(0x8A, 191); end
- if emu.framecount() == 620 then
- memory.writebyte(0x86, 128); end
- if emu.framecount() == 647 then
- memory.writebyte(0x89, 4); end
- if emu.framecount() == 680 then
- memory.writebyte(0x86, 32); memory.writebyte(0x8A, 206); memory.writebyte(0x84, 68); memory.writebyte(0x89, 1); end
- if emu.framecount() == 682 then
- memory.writebyte(0x86, 128); end
- if emu.framecount() >= 685 and emu.framecount() <= 689 then
- memory.writebyte(0x89, -6); end
- if emu.framecount() == 693 then
- memory.writebyte(0x8A, 207); end
- if emu.framecount() == 695 then
- memory.writebyte(0x8A, 145); end
- if emu.framecount() == 698 then
- memory.writebyte(0x89, -2); end
- if emu.framecount() == 699 then
- memory.writebyte(0x89, 0); end
- if emu.framecount() == 705 then
- memory.writebyte(0x8A, 207); end
- if emu.framecount() == 707 then
- memory.writebyte(0x8A, 126); end
- if emu.framecount() == 716 then
- memory.writebyte(0x8A, 207); end
- if emu.framecount() == 718 then
- memory.writebyte(0x8A, 128); end
- if emu.framecount() == 728 then
- memory.writebyte(0x89, 10); end
- end
- local function swrd()
- if emu.framecount() >= 230 and emu.framecount() <= 237 then
- memory.writebyte(0x82, 2); end
- if emu.framecount() >= 304 and emu.framecount() <= 318 then
- memory.writebyte(0x82, 2); end
- end
- local function boss()
- if emu.framecount() == 1015 then
- memory.writebyte(0x86, 34); end
- if emu.framecount() == 1016 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1017 then
- memory.writebyte(0x86, 30); end
- if emu.framecount() == 1018 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1019 then
- memory.writebyte(0x86, 36); end
- if emu.framecount() == 1020 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1021 then
- memory.writebyte(0x86, 28); end
- if emu.framecount() == 1022 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1023 then
- memory.writebyte(0x86, 38); end
- if emu.framecount() == 1024 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1025 then
- memory.writebyte(0x86, 26); end
- if emu.framecount() == 1026 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1027 then
- memory.writebyte(0x86, 40); end
- if emu.framecount() == 1028 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1029 then
- memory.writebyte(0x86, 24); end
- if emu.framecount() == 1030 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1031 then
- memory.writebyte(0x86, 42); end
- if emu.framecount() == 1032 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1033 then
- memory.writebyte(0x86, 22); end
- if emu.framecount() == 1034 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1035 then
- memory.writebyte(0x86, 44); end
- if emu.framecount() == 1036 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1037 then
- memory.writebyte(0x86, 20); end
- if emu.framecount() == 1038 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1039 then
- memory.writebyte(0x86, 46); end
- if emu.framecount() == 1040 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1041 then
- memory.writebyte(0x86, 18); end
- if emu.framecount() == 1042 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1043 then
- memory.writebyte(0x86, 48); end
- if emu.framecount() == 1044 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1045 then
- memory.writebyte(0x86, 16); end
- if emu.framecount() == 1046 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1047 then
- memory.writebyte(0x86, 50); end
- if emu.framecount() == 1048 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1049 then
- memory.writebyte(0x86, 14); end
- if emu.framecount() == 1050 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1051 then
- memory.writebyte(0x86, 52); end
- if emu.framecount() == 1052 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1053 then
- memory.writebyte(0x86, 14); end
- if emu.framecount() == 1054 then
- memory.writebyte(0x86, 32); end
- if emu.framecount() == 1056 then
- memory.writebyte(0x86, 211); memory.writebyte(0x84, 64); memory.writebyte(0x63, 1); end
- if emu.framecount() >= 1057 and emu.framecount() <= 1072 then
- memory.writebyte(0x82, 2); memory.writebyte(0x8A, 207); memory.writebyte(0x89, 0); end
- if emu.framecount() == 1060 then
- memory.writebyte(0x86, 160); memory.writebyte(0x84, 12); end
- if emu.framecount() == 1063 then
- memory.writebyte(0x86, 208); memory.writebyte(0x84, 76); end
- if emu.framecount() == 1066 then
- memory.writebyte(0x86, 156); memory.writebyte(0x84, 12); end
- if emu.framecount() == 1069 then
- memory.writebyte(0x86, 205); memory.writebyte(0x84, 76); end
- end
- memory.registerwrite(0xAD, move)
- memory.registerwrite(0x82, swrd)
- emu.registerbefore(boss)
- emu.frameadvance()
Advertisement
Add Comment
Please, Sign In to add comment