Battleship Minigame
Overview
Creator:
Alucard648
Added: 13 Jul 2023
Tags:
FFC
Downloads: 20
|
View Script
Download Package (923.02 KB) |
Information
Battleship, straight from Wind Waker. Made on request by SkyFlare
Description Setup Reviews Comments
1. Set up 5 consecutive combos: Space(must use CT_BALLESHIP_BOARD combo type), then Miss/empty, then Damaged(to indicate destroyed spaces of still alive ships), then Sunk(to render spaces of sunk ships) and one that reveals shipsupon losing the game.
2. Build board using 1st combo from step 1.
3. Fleet configuration: set up separate screen. From top left corner, use set consecutive lines of combos>0, to define ship sizes, separated by 1 combo 0. Sequences of combos ending at rightmost space and beginning on leftmost position of next row count as one ship. Max ship size is 8, Max number of ships of the same size is 10.
4. Place invisible FFC where you want to render remaining shot counter to be.
D0 - Map ID where screens with fleet data is located(step 3).
D1 - ID of screen (decimal), where fleet data is located (step 3).
D2 - shoot count limit
// D3 - if >0 - ships cannot be adjacent even diagonally.
// D4 - string to display at game startup.
// D5 - minimum number of moves to be left when winning the game for bonus prize item.
// D6 - ID of bonus item.
2. Build board using 1st combo from step 1.
3. Fleet configuration: set up separate screen. From top left corner, use set consecutive lines of combos>0, to define ship sizes, separated by 1 combo 0. Sequences of combos ending at rightmost space and beginning on leftmost position of next row count as one ship. Max ship size is 8, Max number of ships of the same size is 10.
4. Place invisible FFC where you want to render remaining shot counter to be.
D0 - Map ID where screens with fleet data is located(step 3).
D1 - ID of screen (decimal), where fleet data is located (step 3).
D2 - shoot count limit
// D3 - if >0 - ships cannot be adjacent even diagonally.
// D4 - string to display at game startup.
// D5 - minimum number of moves to be left when winning the game for bonus prize item.
// D6 - ID of bonus item.



