Guerrilla War

From NES Hacker Wiki
Jump to: navigation, search

Guerrilla War is a top-down run-and-gun based off the arcade game. You control a guerrilla soldier sent to infiltrate the island of a horrible military dictator and free his hostages. You get several power-up weapons and can drive tanks. Each stage ends with a boss. The game is difficult, but you are given an unlimited number of continues. While this allows even amateur players to beat the game, it kind of ruins the need for skill.

Easy Cheats

Icon Addr Val Cmp Description
Icon-Lives.png C9B6 09 04 Start With 9 Lives (Both players) (USA)
Icon-Lives.png C9B6 63 04 Start With 99 Lives (Both players) (USA)
Icon-Lives-Infinite.png 0028 09 - P1 Infinite Lives
Icon-Invincible.png 0680 01 - P1 Invulnerable
Icon-Weapon.png 0600 02 - P1 Has T Gun
Icon-Weapon.png 0600 03 - P1 Has F Gun
Icon-Weapon.png 0600 04 - P1 Has L Gun
Icon-Weapon.png 0600 01 - P1 Has S Gun
Icon-Weapon.png 0600 24 - P1 Has Atomic Bombs
Icon-Lives-Infinite.png 0029 09 - P2 Infinite Lives
Icon-Invincible.png 0681 01 - P2 Invulnerable
Icon-Weapon.png 0601 02 - P2 Has T Gun
Icon-Weapon.png 0601 03 - P2 Has F Gun
Icon-Weapon.png 0601 04 - P2 Has L Gun
Icon-Weapon.png 0601 01 - P2 Has S Gun
Icon-Weapon.png 0601 24 - P2 Has Atomic Bombs
Icon-Warp.png C9AB A9 A5 Start On Stage X (Part 1) (USA)
Icon-Warp.png C9AC 01 39 Start On Stage 2 (Use with part 1) (USA)
Icon-Warp.png C9AC 02 39 Start On Stage 3 (Use with part 1) (USA)
Icon-Warp.png C9AC 03 39 Start On Stage 4 (Use with part 1) (USA)
Icon-Warp.png C9AC 04 39 Start On Stage 5 (Use with part 1) (USA)
Icon-Warp.png C9AC 05 39 Start On Stage 6 (Use with part 1) (USA)
Icon-Warp.png C9AC 06 39 Start On Stage 7 (Use with part 1) (USA)
Icon-Warp.png C9AC 07 39 Start On Stage 8 (Use with part 1) (USA)
Icon-Warp.png C9AC 08 39 Start On Stage 9 (Use with part 1) (USA)
Icon-Warp.png C9AC 09 39 Start On Stage 10 (Use with part 1) (USA)
Icon-Challenge.png C9B6 00 04 Start With 1 Life (Both players)
Icon-Challenge.png 0028 00 - P1 1 Life, No 1-Ups
Icon-Challenge.png 0600 00 - P1 Has Regular Gun
Icon-Challenge.png 0029 00 - P2 1 Life, No 1-Ups
Icon-Challenge.png 0601 00 - P2 Has Regular Gun
How do I use these?

North America

Guerrilla War.png

Memory Addresses

000B - Stage (00-10) Stored as a decimal value.
000C - P1 Controller Poll bit flag
	01 - Left
	02 - Right
	04 - Down
	08 - Up
	10 - Start
	20 - Select
	B - 40
	A - 80
000D - P2 Controller Poll bit flag

0012 - P1 Moving Direction
	00 - Up
	02 - Right
	04 - Down
	08 - Left
	FF - Idle
0012 - P2 Moving Direction

0028 - P1 Lives
0029 - P2 Lives

0080 - P1 X Position
0081 - P2 X Position

0094-0097 - P1 Bullet X Positions
0098-0099 - P1 Grenade X Positions
009A-009D - P2 Bullet X Positions
009E-009F - P2 Grenade X Positions
00C0 - P1 Y Position
00C1 - P2 Y Position
00D4-00D7 - P1 Bullet Y positions
00D8-00D9 - P1 Grenade Y Positions
00DA-00DD - P2 Bullet Y positions
00DE-00DF - P2 Grenade Y Positions
00F4-00F7 - P1 Bullet Flags
00F8-00F9 - P1 Grenade Flags
00FA-00FD - P2 Bullet Flags
00FE-00FF - P2 Grenade Flags

0190 - P1 Score x1
0191 - P1 Score x256
0192 - P1 Score x65536
0193 - P2 Score x1
0194 - P2 Score x256
0195 - P2 Score x65536
0196 - Best Score x1
0197 - Best Score x256
0198 - Best Score x65536

04C2 - P1 Tank Hit Points
04CD - Item timeout
0540 - P1 Status
	00 - Game over
	01 - Alive
	02/04/05 - In tank
	06/07 - Death walk back
	08 - Mine Cart
	0A - Grenade Soldier
	0B - Full Soldier
	0C - Dying Boss
	0D - Dying Mini boss
	0E - Dying drivable tank
	0F - ?
	10 - Player walking forward
	11 - Land mine
	12 - Game over
	13/14/15 - ?
	16 - Player dieing
	17/18 - Player walks down off screen shooting
	19 - Train gun?
	1A - Same as 0F
	1B - 
	1C - Boss turret?
	1D - Full screen explosion
	1E - Nothing?
	1F - ?
	20 - Soldier?
	21 - ?
	22 - Boss?
	23 - Nothing
 	24 - Boss turret
	25-2F - Nothing
	30 - Enemy soldier walking forward, no weapons
	80 - Invincible nothing
	81+ Same as 0-7F
0541 - P2 Status

0549-054D - Sprite's AI code.
0600 - P1 Weapon
	00 - Normal
	01 - S - Spread
	02 - T - Laser/Spread
	03 - F - Flame Thrower
	04 - L - Laser
	05-08 - Self
	09 - Big Grenades as gun
	0A-0B - Kill All Grenade as gun
	0C-0F - Lasso
	+10 - B - Big Bombs
	+20 - C - Kill All Bombs
	+40 - Bombs are lasso
	+80 - Tank weapon. Warning: throwing a grenade will kill you if you're not actually in a tank.
0601 - P2 Weapons

0680 - P1 Invulnerable Timeout (some numbers make you invisible)
0681 - P2 Invulnerable Timeout

Code

Starting Lives

C9B5:A9 04     LDA #$04        ; Load 04 into A.
C9B7:85 28     STA $0028       ; Store A into P1 Lives.
C9B9:85 29     STA $0029       ; Store A into P2 Lives.

Starting Stage

This is an excerpt from the starting level code.

C9AB:A5 39     LDA $0039       ; Load A with the contents of $0039 (Always a #00 in normal game play)
C9AD:85 0B     STA $000B       ; Store into Stage

Next Stage

C9D1:E6 0B     INC $000B       ; Increment Stage
C9D3:A5 0B     LDA $000B       ; Load Stage into A
C9D5:C9 10     CMP #$10        ; Compare with #10 (Did we beat the game?)
C9D7:D0 05     BNE $C9DE       ; 
C9D9:A9 09     LDA #$09
C9DB:85 08     STA $0008
C9DD:60        RTS

Japan

Guevara.png

The original game was originally titled ゲバラ, Guevara, named after the Argentine Marxist revolutionary Che Guevara. In the game you play Guevara and Castro, trying to overthrown the government.

Memory Addresses

0600 - P1 Weapon
	00 - Normal
	01 - S - Spread
	02 - T - Laser/Spread
	03 - F - Flame Thrower
	04 - L - Laser
	05-08 - Self
	09 - Big Grenades as gun
	0A-0B - Kill All Grenade as gun
	0C-0F - Lasso
	+10 - B - Big Bombs
	+20 - C - Kill All Bombs
	+40 - Bombs are lasso
	+80 - Tank weapon. Warning: throwing a grenade will kill you if you're not actually in a tank.
0601 - P2 Weapons

0669 - P1 Direction

0674-0677 - P1 Bullets Direction
0678-0679 - P1 Grenades Direction

0680 - P1 Invincibility Timeout (some numbers make you invisible)
0681 - P2 Invincibility Timeout


Europe

Guerrilla War (E).png

Memory Addresses

0028 - P1 Lives
0029 - P2 Lives

0600 - P1 Weapon
	00 - Normal
	01 - S - Spread
	02 - T - Laser/Spread
	03 - F - Flame Thrower
	04 - L - Laser
	05-08 - Self
	09 - Big Grenades as gun
	0A-0B - Kill All Grenade as gun
	0C-0F - Lasso
	+10 - B - Big Bombs
	+20 - C - Kill All Bombs
	+40 - Bombs are lasso
	+80 - Tank weapon. Warning: throwing a grenade will kill you if you're not actually in a tank.
0601 - P2 Weapons

0680 - P1 Invincibility Timeout (some numbers make you invisible)
0681 - P2 Invincibility Timeout