diff --git a/ai.asm b/ai.asm index 25d6649..27f2671 100644 --- a/ai.asm +++ b/ai.asm @@ -82,7 +82,10 @@ AIRoutines mwa #80 RandBoundaryLow mwa #800 RandBoundaryHigh jsr RandomizeForce - rts + ; choose the best weapon + ldy #ind_Buy_me_________+1 ; if the cheat is active it will fire the BFG :) + jmp ChooseBestOffensive.NotFromAll + ;rts .endp ;---------------------------------------------- .proc Shooter @@ -156,8 +159,8 @@ endo ; choose the best weapon - jsr ChooseBestOffensive - rts + jmp ChooseBestOffensive + ;rts .endp ;---------------------------------------------- .proc Poolshark @@ -197,9 +200,7 @@ forceNow ldx TankNr jsr RandomizeForce -endo - ;ldx TankNr ;this is possibly not necessary - +endo ; choose the best weapon jsr ChooseBestOffensive @@ -1027,7 +1028,7 @@ SorryNoPurchase ; choose the best weapon ; X - TankNr ;---------------------------------------------- - ldy #last_offensive_____-1 ;the last weapon to choose +1 (ind_Dirt_Charge____ - not Laser :) ) + ldy #ind_Dirt_Charge____+1 ;the last weapon to choose +1 (not BFG or Laser :) ) NotFromAll ; Y - the last offensive weapon to use + 1 lda TanksWeaponsTableL,x diff --git a/scorch.bin b/scorch.bin index 836759a..8ffb1ec 100644 Binary files a/scorch.bin and b/scorch.bin differ diff --git a/scorch.xex b/scorch.xex index 5277c31..d98b310 100644 Binary files a/scorch.xex and b/scorch.xex differ