Skip to content

tigrouind/WL1-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WLEditor

This a level editor for Super Mario Land 3 / WarioLand 1 (1993).

Features

  • Edit levels (tiles / enemies / sectors / warps)
  • Edit world maps and overworld (tiles / events / paths)
  • Rom expansion (for level tiles only)

How to use

  • Click on File > Load
  • Select a valid WL1 rom.
  • Select a course in the combobox.

Navigating through levels

Each level is made of 2 x 16 = 32 sectors.

Some sectors will warp player to another sector (or the exit) once a door is used. It will also load new tile graphics and enemies at the same time.

In the editor, near the sector number, a label S.. indicate if sector will warp player to another sector.

Middle-click on a sector to select it. If that sector is associated with a warp (usually there is a door in it), it will load related tiles and enemies. If you hold Shift or Control during click, it will select the first sector that targets the sector under mouse.

Editing level tiles

  • Open Window > Blocks.
  • Select a tile in the toolbox by left clicking on it.
  • Right-click inside level view.

Editing objects (enemies / power-ups)

  • Open Window > Objects.
  • Select an enemy or a power up in the toolbox by left clicking on it.
  • Right-click inside level view.

Available enemies depends of current sector / warp.

Key Description
Ctrl + Mouse wheel Zoom in / out.
Ctrl + C
Ctrl + V
Copy / paste tiles and enemies.
Ctrl + Z
Ctrl + Y
Undo / redo changes.
Delete Clear what is currently under selection.

Copy / paste

This is a powerful feature. Here is an overview of possibilities:

  • Copy / move a block of tiles from one place to another.
  • Fill / erase a given block.
  • Repeat a pattern.

How to :

  1. Left-click on a tile, hold left mouse button and drag cursor to create a selection (eg: a 3x3 block). Release mouse button. A yellow rectangle should appear.
  2. Press Ctrl-C / Ctrl-X to copy / cut selection.
  3. Left-click somewhere else (eg: a 1x1 block is selected).
  4. Press Ctrl-V to paste selection at that position.

Tips :

  • If you paste result into a selection bigger than what has been copied, pattern will be repeated.
  • You can delete what is under selection by pressing Delete key.
  • You can undo or redo changes with Ctrl-Z / Ctrl-Y.

Sectors / level header

  • Open View > Sectors / Level header
  • Middle-click on a sector to highlight it. If you click on a sector already selected, it will unselected sector and show level header (which has similar properties to warps).

Enemy sets specify which enemies will be loaded for a given warp (up to 6 enemies loaded). Some enemy sets are specific to some places (eg: boss or treasure room, ...).

Tips :

  • Red items are boss enemies sets.
  • Yellow items are related to treasure rooms.
  • Darker items :
    • Exit skull already open (no need to use coins)
    • Guragura with coin sequence (as in 1st level ending)
    • Pouncer that follows player (will try go right, then down, then up)

Treasure rooms

Treasure rooms have their own dedicated warps (one for each treasure, 15 in total). These warps are used during the transition between treasure totals screen and treasure room.

Warps that lead to an area with a key (or a skull) must use the enemy set with the letter corresponding to that treasure. Eg: if a warp leads to an area where there is a key for treasure J, an enemy set with the letter J must be used. When such a warp is loaded, if the treasure has already been collected, the game will automatically open the skull and remove the key.

Overworld / world maps

  • Open View > Overworld
  • Select a world in combobox.

Editing map tiles

Key Description
Right-click in right side Select current tile.
Right-click in left side Add a new tile.
Ctrl + Mouse wheel Zoom in / out.
Ctrl + C
Ctrl + V
Copy / paste tiles (between left and right side or in left side).
Ctrl + Z
Ctrl + Y
Undo / redo changes.
Delete Clear what is currently under selection.

Tips : It's possible to edit tiles/map in an external tool (eg: YY-CHR, Tilemap Studio, ...) using the export/import functionality : Edit > Tile data.

Editing events

Events are used to update map tiles during gameplay, it's usually triggered after completing a level (eg: event 1 is triggered after completing first level, making a path to second level and so on).

Key Description
Page-Up
Page-Down
Select event.
Home
End
Select event step.
Right-click in left side Add event at current step.
Delete Delete event at current step.
Shift + Delete Delete all steps of current event.
Ctrl + C
Ctrl + V
Copy / paste events.
Ctrl + Z
Ctrl + Y
Undo / redo changes.
Delete Clear what is currently under selection.

Tips :

  • Tiles in amber are tiles related to current event.
  • Tiles in cyan are current event tiles already applied.
  • Tile 0x7F (which is rightmost tile of the middle row) cannot be used in events because it's a marker. It's a limitation of the game engine.

Editing paths

Key Description
Page-Up
Page-Down
Select a level.
Ctrl +
← ↓ →
Move current level. Position will be aligned on a 4 x 4 grid.

← ↓ →
Select a direction (N/S/E/W). Path in current direction is highlighted.
Shift +
← ↓ →
Add a new path segment in that direction.
Alt +
← ↓ →
Move overworld completion flag.
Delete Delete last path segment.
Shift + Delete Delete all paths in all directions.
M Change path mode. This will only be set for new paths.
Green = normal path.
Red = player won't be visible when walking on such paths.
Blue = underwater.
P Set progress required to take current path. A direction must be selected.
A number is shown near level to indicate progression required.
Nothing shown means no progress is required.
E Set end of path exit target.
O = Overworld.
S = Sherbet Land.
T = Mt Teapot.

Tips :

  • Path last segment must end up exactly at same position as level to be connected. It might be necessary to move level to align it on the grid.
  • Events should be edited to match paths. If you don't want to bother with events, remove all events and hardcode paths in map.
  • It you are planning to do a new overworld map, it's easier to delete all events and paths first.

Progress

This table show which progress unlocked depending the completed level :

Progress Rice beach Mt. Tea Pot Sherbet Land Stove Canyon SS Tea Cup Parsely Woods Syrup Castle Overworld
1 1 1 1 1 1 1 1 1
2 2 2 2 2 2 2❕ 2❕ 2
3 3 2 🅰️ 2 🅰️ 3 3 3 3❕ 4
4 3 🅰️ 3 3 4 4 4 5
5 4 4 3 🅰️ 4 🅰️ 5 ⚑ 5 6
6 5 ⚑ 5 4 🅱️ 5 🅱️ 6 ⚑ 3
7 6 🅱️ 6❕ 5 🅱️ 6 ⚑
8 4 ⚑ 6 ⚑
Icon Description
🅰️ / 🅱️ secret exit / level
special event (huge [!] block)
boss / last level