diff --git a/Documents/3-PAC_Game_Manual.pdf b/Documents/3-PAC_Game_Manual.pdf new file mode 100644 index 0000000..5dcffab Binary files /dev/null and b/Documents/3-PAC_Game_Manual.pdf differ diff --git a/pacMan/bin/pacman.com b/pacMan/bin/pacman.com index 1e6e0f7..257baa3 100644 Binary files a/pacMan/bin/pacman.com and b/pacMan/bin/pacman.com differ diff --git a/pacMan/ghostAI.inc b/pacMan/ghostAI.inc index cb037f8..b255854 100644 --- a/pacMan/ghostAI.inc +++ b/pacMan/ghostAI.inc @@ -181,112 +181,76 @@ Patern4: add bx, word [ghostIndex] mov ax, [bx] inc word [bx] - cmp word [bx], 20 jl ghostBeforeLeft - cmp word [bx], 40 jl ghostBeforeDown - cmp word [bx], 80 jl ghostBeforeRight - cmp word [bx], 130 jl ghostBeforeDown - cmp word [bx], 145 jl ghostBeforeLeft - cmp word [bx], 160 jl ghostBeforeDown - cmp word [bx], 180 jl ghostBeforeLeft - cmp word [bx], 200 jl ghostBeforeUp - cmp word [bx], 240 jl ghostBeforeLeft - cmp word [bx], 270 jl ghostBeforeUp - cmp word [bx], 330 jl ghostBeforeLeft - cmp word [bx], 380 jl ghostBeforeUp - cmp word [bx], 400 jl ghostBeforeRight - cmp word [bx], 440 jl ghostBeforeUp - cmp word [bx], 510 jl ghostBeforeLeft - cmp word [bx], 530 jl ghostBeforeDown - cmp word [bx], 555 jl ghostBeforeRight - cmp word [bx], 570 jl ghostBeforeDown - cmp word [bx], 590 jl ghostBeforeLeft - cmp word [bx], 610 jl ghostBeforeDown - cmp word [bx], 640 jl ghostBeforeLeft - cmp word [bx], 700 jl ghostBeforeDown - cmp word [bx], 720 jl ghostBeforeRight - cmp word [bx], 730 jl ghostBeforeDown - cmp word [bx], 780 jl ghostBeforeRight - cmp word [bx], 810 jl ghostBeforeDown - cmp word [bx], 830 jl ghostBeforeRight - cmp word [bx], 840 jl ghostBeforeUp - cmp word [bx], 860 jl ghostBeforeRight - cmp word [bx], 870 jl ghostBeforeUp - cmp word [bx], 890 jl ghostBeforeLeft - cmp word [bx], 920 jl ghostBeforeUp - cmp word [bx], 960 jl ghostBeforeLeft - cmp word [bx], 980 jl ghostBeforeUp - cmp word [bx], 1009 jl ghostBeforeLeft - mov word [bx], 0 jmp Patern2 @@ -295,103 +259,70 @@ Patern4: add bx, word [ghostIndex] mov ax, [bx] inc word [bx] - cmp word [bx], 20 jl ghostBeforeRight - cmp word [bx], 40 jl ghostBeforeDown - cmp word [bx], 120 jl ghostBeforeRight - cmp word [bx], 140 jl ghostBeforeDown - cmp word [bx], 180 jl ghostBeforeRight - cmp word [bx], 205 jl ghostBeforeDown - cmp word [bx], 230 jl ghostBeforeRight - cmp word [bx], 260 jl ghostBeforeDown - cmp word [bx], 280 jl ghostBeforeLeft - cmp word [bx], 300 jl ghostBeforeDown - cmp word [bx], 390 jl ghostBeforeLeft - cmp word [bx], 410 jl ghostBeforeUp - cmp word [bx], 430 jl ghostBeforeRight - cmp word [bx], 580 jl ghostBeforeUp - cmp word [bx], 600 jl ghostBeforeRight - cmp word [bx], 640 jl ghostBeforeDown - cmp word [bx], 665 jl ghostBeforeLeft - cmp word [bx], 680 jl ghostBeforeDown - cmp word [bx], 700 jl ghostBeforeRight - cmp word [bx], 720 jl ghostBeforeDown - cmp word [bx], 730 jl ghostBeforeRight - cmp word [bx], 750 jl ghostBeforeUp - cmp word [bx], 770 jl ghostBeforeRight - cmp word [bx], 785 jl ghostBeforeUp - cmp word [bx], 820 jl ghostBeforeLeft - cmp word [bx], 850 jl ghostBeforeUp - cmp word [bx], 920 jl ghostBeforeLeft - cmp word [bx], 940 jl ghostBeforeDown - cmp word [bx], 960 jl ghostBeforeRight - cmp word [bx], 1020 jl ghostBeforeDown - cmp word [bx], 1040 jl ghostBeforeRight - cmp word [bx], 1060 jl ghostBeforeUp - cmp word [bx], 1093 jl ghostBeforeRight mov word [bx], 0