From 7d3064c667035db8e7d1714429cf4602886b412d Mon Sep 17 00:00:00 2001 From: Mark Hester Date: Fri, 3 Jul 2020 18:39:12 +0100 Subject: [PATCH] script_command example has unmatched ')' (#5177) Counter productive when copy pasting example for modification --- doc/script_commands.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 45435831d3..8fd2c19cbe 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -1641,7 +1641,7 @@ S_CheckFull: Example 2: callsub used repeatedly, with different arguments // notice how the Zeny check/delete is reused, instead of copy-pasting for every warp - switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Beacon Island, Pharos") { + switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Beacon Island, Pharos")) { case 1: callsub S_DunWarp,"hu_fild05",192,207; case 2: callsub S_DunWarp,"ama_in02",119,181; case 3: callsub S_DunWarp,"moc_fild20",164,145;