Skip to content

Instantly share code, notes, and snippets.

@ncrecc
Created April 6, 2021 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncrecc/864c9e1faead0f86f29f7ff6fa34cc2c to your computer and use it in GitHub Desktop.
Save ncrecc/864c9e1faead0f86f29f7ff6fa34cc2c to your computer and use it in GitHub Desktop.
Hawai'i Gaiden (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Hawai'i Gaiden
author lovebug
homepage www.puzzlescript.net
verbose_logging
run_rules_on_level_start
========
OBJECTS
========
Background
Lightbrown yellow
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
personl
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
personr
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
mermaidl
black orange white green
.000.
.1110
12121
.333.
..333
mermaidr
black orange white green
.000.
0111.
12121
.333.
333..
Crate
Orange Yellow
00000
0...0
0...0
0...0
00000
Water
Purple blue
00010
00000
01000
00001
00000
boatu
brown darkbrown
..0..
.010.
01110
01110
.000.
boatl
brown darkbrown
..00.
.0110
01110
.0110
..00.
boatr
brown darkbrown
.00..
0110.
01110
0110.
.00..
boatd
brown darkbrown
.000.
01110
01110
.010.
..0..
gravel
gray darkgray
00000
00000
00100
00000
00000
lasthere
transparent
crystal
green lightgreen
..0..
.010.
.010.
..0..
.....
unsafe
red
0....
.0.0.
..0..
.0.0.
....0
splash
lightblue
.000.
0...0
0.0.0
0...0
.000.
friedfishl
darkgray darkgray darkgray darkgray
.000.
.111.
12121
.333.
..333
friedfishr
darkgray darkgray darkgray darkgray
.000.
.111.
12121
.333.
333..
changes
transparent
=======
LEGEND
=======
person = personl or personr
mermaid = mermaidl or mermaidr
player = person or mermaid
. = Background
# = Wall
P = personr
m = mermaidr and changes
n = mermaidr and water and changes
* = Crate
@ = Crate and Target
O = Target
~ = Water
v = boatd
< = boatl
^ = boatu
> = boatr
: = gravel
l = boatl and water
u = boatu and water
d = boatd and Water
r = boatr and Water
0 = target and water
! = crystal
8 = boatu and crate and Water
4 = boatl and crate and Water
2 = boatd and crate and Water
6 = boatr and crate and water
boat = boatu or boatl or boatr or boatd
sailor = person or crate or crystal
mover = sailor or mermaid or boat
friedfish = friedfishl or friedfishr
=======
SOUNDS
=======
Crate MOVE 36772507
sfx1 2471309
crystal destroy 11212309
sfx2 78130302
================
COLLISIONLAYERS
================
changes
lasthere
Background
Water
boat, gravel
Target
crystal
Player, Wall, Crate
splash, friedfish
unsafe
======
RULES
======
[left personr] -> [left personl]
[right personl] -> [right personr]
[left mermaidr] -> [left mermaidl]
[right mermaidl] -> [right mermaidr]
[sailor boatl water no lasthere] -> [left sailor left boatl water lasthere]
[sailor boatu water no lasthere] -> [up sailor up boatu water lasthere]
[sailor boatr water no lasthere] -> [right sailor right boatr water lasthere]
[sailor boatd water no lasthere] -> [down sailor down boatd water lasthere]
[ > player| Crate ] -> [ > player | > Crate ]
[ > Crate | Player] -> [ > Crate | > Player] (soviet russia)
[ > crate | crystal ]-> [ > crate | > crystal ]
[ > crystal | crystal ] -> [ > crystal | > crystal ]
[ > player | boat no water ] -> [ > player | > boat ]
[ > mermaid | boat water ] -> [ > mermaid | > boat water ]
[ > boat|boat] -> [> boat|> boat]
[ sailor > boat] -> [ > sailor > boat ]
[ > boat | wall ] -> [ boat | wall ]
(the following 3 lines prevent moving against the border, e.g. a nonexistent cell)
[ > mover ] -> [ > mover action Background]
[ > mover | ] -> [ > mover stationary Background | ]
[mover action Background] -> [stationary mover stationary background]
late [sailor boat water] -> again
late [lasthere no sailor] -> []
late [splash] -> cancel
late [person water no boat] -> [splash water] sfx1
late [crystal water no boat] -> [water]
late [crate water no boat] -> [changes]
late [person] [unsafe] -> [person] []
late [mermaid] [changes] [no unsafe no water no wall] -> [mermaid] [changes] [unsafe]
late [unsafe|water] -> [|water]
late [mermaidl unsafe] -> [friedfishl unsafe] sfx2
late [mermaidr unsafe] -> [friedfishr unsafe] sfx2
late [personr crystal] -> [mermaidr changes]
late [mermaidr crystal] -> [personr]
late [personl crystal] -> [mermaidl changes]
late [mermaidl crystal] -> [personl]
late [mermaid] [changes] [no unsafe no water no wall] -> [mermaid] [changes] [unsafe]
late [unsafe|water] -> [|water]
late [person] [unsafe] -> [person] []
late [mermaidl unsafe] -> [friedfishl unsafe] sfx2
late [mermaidr unsafe] -> [friedfishr unsafe] sfx2
late [changes] -> []
==============
WINCONDITIONS
==============
All Target on Crate
some Target
some player
=======
LEVELS
=======
..~~...o.
.^~~.....
~~~~.*...
~~~~~~~~~
~~~~~~~~~
~~~~~~~~~
...!.~~~~
.....~~!.
.p...~~..
~~~~~~~~~~~~
~~~~~~~~~~~~
~.....~~~~~~
~..!*.r~~.~~
~.....~~~.~~
~.p...~~~o~~
~.....~~~~~~
~~~~~~~~~~~~
~~~~~~~~~~~~
~~~~~~~~~~
~..~~~~.o~
~..~~~~o.~
~~~~~u~~~~
~n~r~~r~~~
~~~~u~~~~~
~.*~~~~..~
~*.~~~~..~
~~~~~~~~~~
~~~~~~~~~~...~~~~~~~
~n~~~~~~~~...~.....~
~~dl~~~~~...~~.....~
~~ru~~~~~*..~~..o..~
~~~~~~~~~.#.~~.....~
~~~~~!~~~~~~~~.....~
~#~r~~~~~...~~~~~~~~
~~~~~~~~~...~~~~~~~~
..~~~~.~~~~.
.p~~~~.~~~~.
.*r~~~.~~~~.
~d~~~~.~~~~.
~~~~~~.~~~~.
~~~~~~.~~~~.
.!.....~~~0.
.^.....~~~~.
............
~~~~~~~~~
~n~r~~~~0
~~~~~~2~~
~~#~~~#~~
~~8~~~~~~
0~~~~l~~~
~~~~~~~~~
...........
~~~~.......
n~~~~~~~*o.
~~~~~~~~~~~
~~~~~~~~~~~
~~~~~~~~~~~
......~~~~~
...........
...............
~~~~...........
n~~~~~.........
~~~~~~~~.......
~~~~~~~~~~.....
..~~~~~~~~~....
....~~~~~~~....
.....~~~~~~....
.....*~~~~~....
.....o~~~~~....
......~~~~~....
........~~n~~~............:..........
........~~~~~~............:..........
........~~~~~~............:..........
........~~~~~~~...........:..........
........~~~~~~~...........::::.......
........~~~~~~~..............:.......
........~~~~~~~..............:.......
........~~~~~~~..............:.......
.........~~~~~~..............:::::::.
.........~~~~~~....................:.
.........~~~~~~....................:.
.........~~~~~.....................::
.........~~~~~.......................
........~~~~~~.......................
........~~~~~~.......................
........~~~~~~~......................
.......~~~~~~~~......................
......~~~~~~~~~~.....................
.....~~~~~~~~~~~~....................
....~~~~~~~~~~~~~~...................
..~~~~~~~~~~~~~~~~~..................
~~~~~~~~~~~~~~~~~~~~~................
~~~~~~~~~~~~~~~~~~~~~~~~~............
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~........
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~20~~~~~~~~~~~~~~~~~~~~~~~~~
n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~20
message you eventually realize that was the last form changing crystal in the world ever
message you return to the shore and hang around until you become a well known real-life legend, and get an engaging career mapping out unexplored parts of the ocean as the world's first sapient sea creature
message you also become a highly influential ocean pollution activist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment