From bb826b680dd85477fd0eb5f90768f2411d3c0535 Mon Sep 17 00:00:00 2001 From: pkali Date: Thu, 11 Aug 2022 00:34:21 -0400 Subject: [PATCH] Auto Defense -> Bouncy Castle --- ai.asm | 6 +- ...eapons_AW5_mod.fnt => weapons_AW6_mod.fnt} | Bin 1024 -> 1024 bytes constants.asm | 96 ++---------------- definitions.asm | 4 +- grafproc.asm | 4 +- scorch.asm | 2 +- scorch.xex | Bin 43440 -> 43440 bytes weapons.asm | 14 +-- 8 files changed, 21 insertions(+), 105 deletions(-) rename artwork/{weapons_AW5_mod.fnt => weapons_AW6_mod.fnt} (93%) diff --git a/ai.asm b/ai.asm index 10a9194..7f90a97 100644 --- a/ai.asm +++ b/ai.asm @@ -959,7 +959,7 @@ SorryNoPurchase mva #3 tempXroller; number of offensive purchases to perform ldx TankNr @ - randomize ind_Battery________ ind_Auto_Defense___ + randomize ind_Battery________ ind_Bouncy_Castle__ jsr TryToPurchaseOnePiece dec tempXroller bne @- @@ -985,7 +985,7 @@ SorryNoPurchase ; first try to buy defensives mva #1 tempXroller; number of defensive purchases to perform @ - randomize ind_Battery________ ind_Auto_Defense___ + randomize ind_Battery________ ind_Bouncy_Castle__ jsr TryToPurchaseOnePiece dec tempXroller bne @- @@ -1012,7 +1012,7 @@ SorryNoPurchase ; first try to buy defensives mva #1 tempXroller; number of defensive purchases to perform @ - randomize ind_Battery________ ind_Auto_Defense___ + randomize ind_Battery________ ind_Bouncy_Castle__ jsr TryToPurchaseOnePiece2 dec tempXroller bne @- diff --git a/artwork/weapons_AW5_mod.fnt b/artwork/weapons_AW6_mod.fnt similarity index 93% rename from artwork/weapons_AW5_mod.fnt rename to artwork/weapons_AW6_mod.fnt index 8aa58be96b7c75f8e4a226d7a1b504d541f9f4da..577e581f0bcf0fee9a387da708b4bfb07cbda061 100644 GIT binary patch delta 19 bcmZqRXyDlJgOS6@Y3cLS!~g0RF);xEP7(+m delta 19 acmZqRXyDlJgOQ`o$;rtk>_5XICMEzvUj{t@ diff --git a/constants.asm b/constants.asm index 86b279a..a8b9084 100644 --- a/constants.asm +++ b/constants.asm @@ -220,90 +220,6 @@ SlideLeftTable .BY %00000111 .BY %00001100 -;----------------------------------------------------------- -; this table changes Angle to the appropriate tank character -;BarrelTable -; -; .by $2C,$2C,$2C,$2C,$2C,$2C,$2C,$2C,$2A,$2A, -; .by $2A,$2A,$2A,$2A,$2A,$2A,$28,$28,$28,$28, -; .by $28,$28,$28,$28,$28,$26,$26,$26,$26,$26, -; .by $26,$26,$26,$24,$24,$24,$24,$24,$24,$24, -; .by $24,$22,$22,$22,$22,$22,$22,$22,$22,$22, -; .by $20,$20,$20,$20,$20,$20,$20,$20,$1E,$1E, -; .by $1E,$1E,$1E,$1E,$1E,$1E,$1C,$1C,$1C,$1C, -; .by $1C,$1C,$1C,$1C,$1C,$1A,$1A,$1A,$1A,$1A, -; .by $1A,$1A,$1A,$18,$18,$18,$18,$18,$18,$18, - ;.by $18, - -; .by $16,$16,$16,$16,$16,$16,$16,$16,$14,$14, -; .by $14,$14,$14,$14,$14,$14,$12,$12,$12,$12, -; .by $12,$12,$12,$12,$12,$10,$10,$10,$10,$10, -; .by $10,$10,$10,$0E,$0E,$0E,$0E,$0E,$0E,$0E, -; .by $0E,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C,$0C, -; .by $0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$08,$08, -; .by $08,$08,$08,$08,$08,$08,$06,$06,$06,$06, -; .by $06,$06,$06,$06,$06,$04,$04,$04,$04,$04, -; .by $04,$04,$04,$02,$02,$02,$02,$02,$02,$02, -; .by $02, - -;EndOfTheBarrelX -; ; right angles from 0 (horizontally right) to 90 (up) -; -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,6,6,6,6,6,6,6,6,6, -; .by 5,5,5,5,5,5,5,5,5,5, -; .by 4,4,4,4,4,4,4,4,4,4, -; ;.by 4, -; -; ; left angles from 90 (vertical) to 180 (horizontally left) -; .by 3,3,3,3,3,3,3,3,3,3, -; .by 3,2,2,2,2,2,2,2,2,2, -; .by 2,1,1,1,1,1,1,1,1,1, -; .by 0,0,0,0,0,0,0,0,0,0, -; .by 0,0,0,0,0,0,0,0,0,0, -; .by 0,0,0,0,0,0,0,0,0,0, -; .by 0,0,0,0,0,0,0,0,0,0, -; .by 0,0,0,0,0,0,0,0,0,0, -; .by 0,0,0,0,0,0,0,0,0,0, -; .by 0 -; -;EndOfTheBarrelY -;; right angles from 0 (horizontally right) to 90 (up) -; -; ; one pixel Up for fix problems with colision check -; ;.by 3,3,3,3,3,3,3,3,3,3,3,3,3,3 -; .by 4,4,4,4,4,4,4,4,4,4, -; .by 4,4,4,4,4,4,4,4,4,4, -; .by 4,4,4,4,4,4,4,5,5,5, -; .by 5,5,5,5,5,5,5,6,6,6, -; .by 6,6,6,6,6,6,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; ;.by 7, -; -;; left angles from 90 (vertical) to 180 (horizontally left) -; -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,7,7,7,7,7, -; .by 7,7,7,7,7,6,6,6,6,6, -; .by 6,6,6,6,5,5,5,5,5,5, -; .by 5,5,5,5,4,4,4,4,4,4, -; .by 4,4,4,4,4,4,4,4,4,4, -; .by 4,4,4,4,4,4,4,4,4,4, -; .by 4, -; ; one pixel Up for fix problems with colision check -; ;.by 3,3,3,3,3,3,3,3,3,3,3,3,3,3 - - ;------------------------------------------------- TanksNamesDefault dta d"1st.Tank" @@ -375,7 +291,7 @@ WeaponPriceH ; weapons prices (tables with prices of weapons) .by >price_Heavy_Shield___ .by >price_Force_Shield___ .by >price_Super_Mag______ - .by >price_Auto_Defense___ + .by >price_Bouncy_Castle__ .by >price_Fuel_Tank______ .by >price_Nuclear_Winter_ @@ -441,7 +357,7 @@ WeaponPriceL .by