The Goonies II

From NES Hacker Wiki
Jump to: navigation, search

The Goonies II is the sequel to The Goonies. You once again play Mikey who is trying to rescue your Goonie friends who have been captured by the Fratellis, but that's where the similarities with the movie stop. For some strange reason, a mermaid named Annie was kidnapped by the Fratellis. The Goonies II features a grander sense of adventure now, as it has a vast assortment of power ups, weapons, and items to collect along with numerous 3D corridors to get lost in. All the the 2D platform action is here as well, now with many more monsters to battle, and a whole bunch of hazards to avoid. The game could have been great, if not for the tediousness of having to search every single room in 11 different ways in order to get all the necessary items.

Easy Cheats

Icon Addr Val Cmp Description
Icon-Lives.png D42A 09 03 Start With 9 Lives
Icon-Lives-Infinite.png 0022 09 - Infinite Lives
Icon-HitPoints.png D432 08 02 Start With Full Hit Point Containers
Icon-HitPoints.png D537 80 20 Start With Full Hit Points
Icon-Powerup.png 0507 08 - Full Hit Point Containers
Icon-HitPoints-Infinite.png 0503 80 - Infinite Hit Points
Icon-Invincible.png 0526 01 - Invulnerable
Icon-Ammo-Infinite.png 050E 63 - Infinite Slingshot
Icon-Ammo-Infinite.png 0501 63 - Infinite Bombs
Icon-Ammo-Infinite.png 0502 63 - Infinite Molotov Cocktails
Icon-Item.png 0500 08 - Infinite Keys
Icon-Weapon.png D460 1F 01 Start With All Weapons
Icon-Weapon.png 050B 1F - Have All Weapons
Icon-Item.png 0509
050A
FF
FF
-
-
Have All Items (1/2)
Have All Items (2/2)
Icon-Item.png 0508 FF - Have All Magic Locator Devices
Icon-Jump.png 89B1 04 02 High Jump Without Spring Shoes
Icon-Item.png 050D 3F - All Goonies Rescued
How do I use these?

North America

The Goonies II.png

Memory Addresses

0006 - Controller 1 Poll
0022 - Lives (00-09)
003D - Map Row

0200-02FF - Sprite memory

0300-4FF - Object memory

0336 - Player Y Position On Screen
035A - Player X Position On Screen
037E - Player Y Delta

0500 - Keys (00-08)
0501 - Bombs (00-63)
0502 - Molotov Cocktails (00-63)
0503 - Hit Points (00-80, 10 per container)
0507 - Energy Containers (01-08)
0508 - Magic Locator Devices Bit Flag
	+00 - None
	+01 - Locator 1
	+02 - Locator 2
	+04 - Locator 3
	+08 - Locator 4
	+10 - Locator 5
	+20 - Locator 6
0509 - Item flags 1
	+00 - Nothing
	+01 - Helmet
	+02 - Raincoat
	+04 - Running Shoes
	+08 - Jumping Shoes
	+10 - Bulletproof Vest
	+20 - Nothing?
	+40 - Nothing?
	+80 - Nothing?
050A - Item flags 2
	+00 - Nothing
	+01 - Nothing?
	+02 - Scuba Suit
	+04 - Transceiver
	+08 - Glasses
	+10 - Key
	+20 - Ladder
	+40 - Hammer
	+80 - Candle
050B - Weapon flags
	+00 - Nothing
	+01 - Yo-yo
	+02 - Slingshot
	+04 - Boomerang
	+08 - Bombs
	+10 - Molotov cocktail
050C - Equipped shoe (01-03)
	00 - Normal
	01 - Running
	02 - Jumping
050D - Rescued Goonies bit flag (00-3F)
	+00 - Nothing
	+01 - Goonie 1 (Boy)
	+02 - Goonie 2 (Girl)
	+04 - Goonie 3 (Boy)
	+08 - Goonie 4 (Boy)
	+10 - Goonie 5 (Girl)
	+20 - Goonie 6 (Boy)
050E - Slingshot rocks (00-63)
0516 - Invulnerable Timeout (00-FF)
0517 - Currently selected primary weapon (00-02)
	00 - Yo-yo
	01 - Slingshot
	02 - Boomerang
0518 - Currently selected secondary weapon (01-02)
	01 - Bomb
	02 - Molotov Cocktail
0520 - Currently selected item in the weapon box
	00 - Yo-yo
	01 - Slingshot
	02 - Boomerang
	03 - Bomb
	04 - Molotov Cocktail

Code

Player Start

Loads the player with starting values.

D413:20 67 D4  JSR $D467
D416:A2 0B     LDX #$0B
D418:A9 00     LDA #$00
D41A:9D E0 07  STA $07E0,X
D41D:CA        DEX
D41E:10 FA     BPL $D41A
D420:85 08     STA $0008
D422:A4 0E     LDY $000E
D424:B9 65 D4  LDA $D465,Y
D427:85 09     STA $0009
D429:A9 03     LDA #$03
D42B:85 22     STA $0022      ; Store Lives
D42D:A9 01     LDA #$01
D42F:85 24     STA $0024
D431:A9 08     LDA #$02
D433:8D 07 05  STA $0507      ; Store Hit Point Containers
D436:A9 80     LDA #$20
D438:8D 03 05  STA $0503      ; Store Hit Points
D43B:A9 00     LDA #$00
D43D:8D 34 05  STA $0534
D440:85 42     STA $0042
D442:8D 1F 05  STA $051F
D445:85 20     STA $0020
D447:8D 32 05  STA $0532
D44A:A9 02     LDA #$02
D44C:85 3D     STA $003D     ; Store Location
D44E:A9 FF     LDA #$FF
D450:85 21     STA $0021     ; Store Location
D452:A9 08     LDA #$08
D454:85 58     STA $0058
D456:A9 C0     LDA #$C0
D458:85 59     STA $0059
D45A:A9 1E     LDA #$1E
D45C:8D 24 05  STA $0524
D45F:A9 1F     LDA #$1F
D461:8D 0B 05  STA $050B      ; Store Weapons
D464:60        RTS

Jump Setup

This block of code setups the player's Y Delta for jumping height and stores it into A before returning.

89B0:A2 04     LDX #$04       ; 
89B2:A0 E0     LDY #$E0       ; 
89B4:AD 0C 05  LDA $050C      ; 
89B7:C9 02     CMP #$02       ; 
89B9:D0 04     BNE $89BF      ; 
89BB:A2 04     LDX #$04       ; 
89BD:A0 40     LDY #$40       ; 
89BF:86 69     STX $0069      ; 
89C1:84 68     STY $0068      ; 
89C3:A2 05     LDX #$05       ; 
89C5:BD 68 04  LDA $0468,X    ; 
89C8:D0 12     BNE $89DC      ; 
89CA:E8        INX            ; 
89CB:E0 08     CPX #$08       ; 
89CD:90 F6     BCC $89C5      ; 
89CF:A5 69     LDA $0069      ; 
89D1:A4 68     LDY $0068      ; 
89D3:4C 00 80  JMP $8000      ; 
89D6:A9 00     LDA #$00       ; 
89D8:9D 68 04  STA $0468,X    ; 
89DB:60        RTS


Text

There are two tables, one for the title screen and one for the in-game text. The character set is quite complete and contains several characters that are not used in the game (a few held over from the Japanese version) I've included every character seen in the American version and a couple others.

Title

00= 
01=0
02=1
03=2
04=3
05=4
06=5
07=6
08=7
09=8
0A=9
0B=A
0C=B
0D=C
0E=D
0F=E
10=F
11=G
12=H
13=I
14=J
15=K
16=L
17=M
18=N
19=O
1A=P
1B=Q
1C=R
1D=S
1E=T
1F=U
20=V
21=W
22=X
23=Y
24=Z
25=,
26=.
35=©
36=™

Game

00= 
01=A
02=B
03=C
04=D
05=E
06=F
07=G
08=H
09=I
0A=J
0B=K
0C=L
0D=M
0E=N
0F=O
10=P
11=Q
12=R
13=S
14=T
15=U
16=V
17=W
18=X
19=Y
1A=Z
1B=0
1C=1
1D=2
1E=3
1F=4
20=5
21=6
22=7
23=8
24=9
25=&
26=>
27=<
28=^
29=v
2A=?
2B=!
2C=-
2D=”
2E=“
2F='
30=,
31=.
32=·
33=–
47=…
48=h

Japan

Goonies 2 (J).png

This is the original Japanese release.

Europe

Goonies 2 (E).png

This is the later PAL release.

Prototype

Goonies II, The (J) (Prototype).png

This is an early prototype of the Japanese release.