Skip to content

Commit

Permalink
Boat battle issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikketer committed Jul 17, 2024
1 parent f641a15 commit a655ce3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions boatBattle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ namespace BoatBattle {
// if any enemy pirates are on top of the treasure, BOOM LOOSE!
if (anyGotTreasure) {
_isDone = true
pause(1500)
pause(1000)

game.showLongText('Thee pirates stole ye booty!', DialogLayout.Center)

Expand All @@ -126,7 +126,7 @@ namespace BoatBattle {
_onLooseCallback()
} else if (allPlayersDead) {
_isDone = true
pause(1500)
pause(1000)

game.showLongText('Thar enemy has taken thee boat! Luckily they\'ve accepted you to join their crew!', DialogLayout.Center)

Expand All @@ -141,7 +141,7 @@ namespace BoatBattle {
_onLooseCallback()
} else if (!anyAlive) {
_isDone = true
pause(1500)
pause(1000)

game.showLongText('Ye have warded off the enemy pirates! For now...', DialogLayout.Center)

Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const playerState = {
currentIsland: ''
}

const version: string = 'v0.7'
const version: string = 'v0.8'
const debugMode: boolean = false

let currentState: States
Expand Down

0 comments on commit a655ce3

Please sign in to comment.