Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
FURiOUS committed Aug 28, 2018
1 parent becb5d4 commit d567a92
Show file tree
Hide file tree
Showing 7 changed files with 234,734 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
patched/
*.smc
*.sfc
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Goof Troop - Practice Cart
========================
The first romhack for practicing speedruns of Goof Troop [SNES].

Features
--------
* Fixes audio/crash issues when using flashcart savestates (SuperUFO Pro 8)
* Shows current IGT and RNG on screen
* The In-Game Timer resets after the stage is completed

How to Use
----------
This romhack has a few commands you can do while playing:

| Command | Description |
| :---: | --- |
| `Start+X` | Changes to the next game RNG (Random Number Generator) |
| `Start+Y` | Cicle player lives¹ |
| `Start+B` | Cicle player hearts¹ |
| `Start+Select` | Resets the current room² |
| `Start+Up` | Advances to the next room² |

*¹ This currently affects both players
² Beta: This feature isn't ready yet, may cause glitches or just doesn't work at all*

Additional Informations
---------
You may wanna also check the [wiki page](https://github.com/furious/gooftroop/wiki) for more information about the game.

Credits
-------
**FURiOUS**: Made this thing :P -- [Twitter](https://twitter.com/furious_) | [Twitch](http://twitch.tv/furious)
**Vitor Vilela**: Helped a lot with some Assembly stuff -- [Twitter](https://twitter.com/hackervilela)
60 changes: 60 additions & 0 deletions define.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
; Goof Troop - Practice Cart
; description: global variables definition
; author: FURiOUS

; game addresses
!rng = $1A58
!level_id = $B7
!load_status = $A2
!gamemode = $A0
!paused = $AB

!timer_enemies = $023E
!igt_frm = $F0
!igt_sec = $F1
!igt_min = $F2
!igt_hr = $F3

!p1_pad = $44
!p1_pad_frame = $48
!p1_status = $0100 ; 0 = hide, 1 = show, 3 = iframes
!p1_item = $0142
!p1_hp = $011D
!p1_lives = $0157
!p1_Xpos = $0111
!p1_subXpos = $0110
!p1_Ypos = $0114
!p1_subYpos = $0113
!p1_update = $013F

!p2_pad = $4A
!p2_pad_frame = $4E
!p2_status = $0180
!p2_item = $01C2
!p2_hp = $019D
!p2_lives = $01D7
!p2_Xpos = $0191
!p2_subXpos = $0190
!p2_Ypos = $0194
!p2_subYpos = $0193
!p2_update = $01BF

; game text palletes
!white = #$20
!red = #$24
!blue = #$28
!yellow = #$30
!green = #$38


; patch addresses
!last_input = $7FFFF0
!last_rng = $7FFFF2
!last_room = $7FFFF4
!igt_last_min = $7FFFF6
!igt_last_sec = $7FFFF7
!igt_last_frm = $7FFFF8
!igt_room_min = $7FFFE6
!igt_room_sec = $7FFFE7
!igt_room_frm = $7FFFE8
!last_color = $7FFFFF
Loading

0 comments on commit d567a92

Please sign in to comment.