feat(game): basic script implementations (#65)

* feat(game): open the wired dialog line when a player interacts with an npc or sign

* feat(game): run npc and sign interactions through a generated script layer

* chore(style): spotlessApply

* fix(codegen): generate dialog enums without a rom so ci can compile

* docs: add a guide for writing overworld scripts

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Fiereuandgithub-actions[bot] authored and GitHub committed 2026-07-26 00:12:30 +02:00
1 parent 6695daabd8
commit 300bc52531
691 files changed
+56022 -44

No files matched your search

@@ -10,4 +10,6 @@ sonarLint {
// The todo-to-issue workflow already tracks open tasks, so lint must not flag them too.
disable("kotlin:S1135")
}
// Generated sources should not be linted.
ignoredPaths.add("**/generated/**")
}
+18
View File
@@ -71,3 +71,21 @@ jteCodegen {
))
}
}
// One shot bootstrap of the overworld script stubs into server.game. Run by hand with
// `gradlew :codegen:generateScriptStubs`. Deliberately not wired into the build, the emitted files
// are committed source so hand written ports are never overwritten on a normal build.
tasks.register<JavaExec>("generateScriptStubs") {
group = "codegen"
description = "Bootstrap overworld script stubs into server.game (manual, not part of the build)"
val fireredDir = rootProject.layout.projectDirectory.dir("decomp/pokefirered")
val serverGameSrc = rootProject.layout.projectDirectory.dir("server.game/src/main/kotlin")
classpath = sourceSets["generator"].runtimeClasspath
mainClass.set("de.fiereu.openmmo.codegen.script.Main")
args(
serverGameSrc.asFile.absolutePath,
romsDir.asFile.absolutePath,
"hoenn|BPEE|${sourceDecompDir.asFile.absolutePath}",
"kanto|BPRE|${fireredDir.asFile.absolutePath}",
)
}
@@ -7,11 +7,13 @@
@param List<DialogEntry> entries
package ${pkg}
import de.fiereu.openmmo.common.dialog.DialogLine
/**
* Overworld dialog lines for this location, generated from the decomp text. Each [textId] is
* 0x10000000 or the string's retail ROM offset, ready to send in a DialogAction packet.
*/
enum class ${enumName}(val textId: Int) {
enum class ${enumName}(override val textId: Int) : DialogLine {
@for(DialogEntry e : entries)
${RenderUtil.INSTANCE.entry(e)}
@endfor
@@ -33,15 +33,21 @@ private fun generateRegion(
) {
val renderer = DialogRenderer(region, templatesDir, outputDir, classCacheDir)
val rom = RomIndex.find(romsDir, gameCode)
val texts = TextParser(decompDir).parseAll()
println("[dialog] $region: parsed ${texts.size} text labels from $decompDir")
// Without a ROM we cannot resolve textIds, but the enums must still exist so code that
// references them compiles (for example in CI, where ROMs are never present). Emit every
// label with a placeholder textId so the build works, just without real dialog ids.
if (rom == null) {
println("[dialog] no $gameCode ROM found in $romsDir, generating empty $region")
renderer.render(emptyList())
println(
"[dialog] no $gameCode ROM found in $romsDir, generating $region labels without textIds")
renderer.render(texts.map { DialogLine(it.label, 0, RenderUtil.preview(it.content)) })
return
}
val charmap = Charmap.load(File(decompDir, "charmap.txt"))
val texts = TextParser(decompDir).parseAll()
println("[dialog] $region: parsed ${texts.size} text labels from $decompDir")
var unencodable = 0
var notFound = 0
@@ -0,0 +1,38 @@
package de.fiereu.openmmo.codegen.script
import de.fiereu.openmmo.codegen.dialog.Charmap
import de.fiereu.openmmo.codegen.dialog.RenderUtil
import de.fiereu.openmmo.codegen.dialog.RomIndex
import de.fiereu.openmmo.codegen.dialog.TextParser
import java.io.File
/**
* Maps a decomp text label to the generated dialog enum entry it became, mirroring the dialog
* generator so a script can reference the same entry. Only labels that resolved to a real ROM
* offset are present, and only the first label to claim an entry name in a location, since the
* dialog enum keeps one entry per name.
*/
object DialogRefIndex {
fun build(decompDir: File, romsDir: File, gameCode: String): Map<String, DialogRef> {
val rom = RomIndex.find(romsDir, gameCode) ?: return emptyMap()
val charmap = Charmap.load(File(decompDir, "charmap.txt"))
val resolved =
TextParser(decompDir).parseAll().mapNotNull { text ->
val bytes = charmap.encode(text.content) ?: return@mapNotNull null
if (rom.offsetOf(bytes) < 0) null else text.label
}
val refs = HashMap<String, DialogRef>()
resolved
.groupBy { RenderUtil.location(it) }
.forEach { (location, labels) ->
val className = RenderUtil.className(location).trim('`')
val takenNames = HashSet<String>()
for (label in labels) {
val entry = RenderUtil.entryName(label)
if (takenNames.add(entry)) refs[label] = DialogRef(className, entry)
}
}
return refs
}
}
@@ -0,0 +1,58 @@
@file:JvmName("Main")
package de.fiereu.openmmo.codegen.script
import java.io.File
/**
* One shot bootstrap of the overworld script stubs. Run by hand, the output is committed source and
* is never regenerated on build, so hand written ports are safe. Args are the server.game kotlin
* source root, the roms folder, then one `region|gameCode|decompDir` per region.
*/
fun main(args: Array<String>) {
require(args.size >= 3) {
"Usage: <server-game-kotlin-src> <roms-dir> <region|gameCode|decomp>... got ${args.toList()}"
}
val outputDir = File(args[0])
val romsDir = File(args[1])
val assigned = mutableSetOf<String>()
val mapValues = mutableListOf<String>()
for (spec in args.drop(2)) {
val (region, gameCode, decomp) = spec.split("|")
mapValues +=
ScriptGenerator(region, outputDir).generate(File(decomp), romsDir, gameCode, assigned)
}
writeRegistry(outputDir, mapValues)
println("[script] wrote registry over ${mapValues.size} maps, ${assigned.size} scripts")
}
private fun writeRegistry(outputDir: File, mapValues: List<String>) {
val pkg = "de.fiereu.openmmo.server.game.script.generated"
val chunks = mapValues.chunked(40)
val sb = StringBuilder()
sb.append("package ").append(pkg).append("\n\n")
sb.append("import de.fiereu.openmmo.server.game.script.Script\n\n")
sb.append("/**\n")
sb.append(
" * Every ported script keyed by its decomp label. Bootstrapped once from the decomp then\n")
sb.append(
" * edited by hand, so this file is committed source and is not regenerated on build.\n")
sb.append(" */\n")
sb.append("internal object GeneratedScripts {\n")
sb.append(" val byLabel: Map<String, Script> =\n")
sb.append(" HashMap<String, Script>().apply {\n")
for (i in chunks.indices) sb.append(" chunk").append(i).append("()\n")
sb.append(" }\n\n")
for ((i, chunk) in chunks.withIndex()) {
sb.append(" private fun MutableMap<String, Script>.chunk").append(i).append("() {\n")
for (value in chunk) sb.append(" putAll(").append(value).append(")\n")
sb.append(" }\n\n")
}
sb.append("}\n")
val file = File(outputDir, pkg.replace('.', '/') + "/GeneratedScripts.kt")
file.parentFile.mkdirs()
file.writeText(sb.toString())
}
@@ -0,0 +1,53 @@
package de.fiereu.openmmo.codegen.script
import java.io.File
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.jsonArray
import kotlinx.serialization.json.jsonObject
import kotlinx.serialization.json.jsonPrimitive
/**
* The interactable script labels each map references, grouped by the owning map (the map folder
* name). Only npc (object event) and sign (bg event) scripts are collected, since those are the
* entry points a player can trigger.
*/
class MapEventIndex private constructor(val byMap: Map<String, List<String>>) {
companion object {
private val json = Json { ignoreUnknownKeys = true }
fun build(decompDir: File): MapEventIndex {
val mapsDir = File(decompDir, "data/maps")
val out = LinkedHashMap<String, List<String>>()
if (mapsDir.isDirectory) {
mapsDir
.listFiles { f -> f.isDirectory }
?.sortedBy { it.name }
?.forEach { dir ->
val mapJson = File(dir, "map.json")
if (mapJson.isFile) {
val labels = parse(mapJson)
if (labels.isNotEmpty()) out[dir.name] = labels
}
}
}
return MapEventIndex(out)
}
private fun parse(mapJson: File): List<String> {
val root = json.parseToJsonElement(mapJson.readText()).jsonObject
val labels = LinkedHashSet<String>()
for (key in listOf("object_events", "bg_events")) {
val arr = root[key]?.jsonArray ?: continue
for (event in arr) {
val script = event.jsonObject["script"]?.jsonPrimitive?.content
if (script != null && isLabel(script)) labels.add(script)
}
}
return labels.toList()
}
private fun isLabel(value: String): Boolean =
value.isNotBlank() && value != "0x0" && value != "NULL" && value.first().isLetter()
}
}
@@ -0,0 +1,138 @@
package de.fiereu.openmmo.codegen.script
import java.io.File
/**
* Emits one Kotlin file per map holding the [de.fiereu.openmmo.server.game.script.Script] objects
* for that map's npcs and signs. Single msgbox scripts are filled in, anything with branching or
* extra commands is left as a TODO stub with the decomp body in a comment. Returns the fully
* qualified per map map values so the caller can build the registry.
*/
class ScriptGenerator(
private val region: String,
private val outputDir: File,
) {
private val basePackage = "de.fiereu.openmmo.server.game.script.generated.$region"
private val dialogPackage = "de.fiereu.openmmo.dialog.generated.$region"
fun generate(
decompDir: File,
romsDir: File,
gameCode: String,
assigned: MutableSet<String>,
): List<String> {
val scripts = ScriptIndex.build(decompDir)
val events = MapEventIndex.build(decompDir)
val dialogRefs = DialogRefIndex.build(decompDir, romsDir, gameCode)
val packageDir = File(outputDir, basePackage.replace('.', '/'))
if (packageDir.exists()) packageDir.deleteRecursively()
packageDir.mkdirs()
val mapValues = mutableListOf<String>()
var simple = 0
var todo = 0
for ((mapName, labels) in events.byMap) {
val stubs = labels.filter { assigned.add(it) }.map { toStub(it, scripts, dialogRefs) }
if (stubs.isEmpty()) continue
File(packageDir, "$mapName.kt").writeText(renderMapFile(mapName, stubs))
mapValues.add("$basePackage.${mapName}Scripts")
simple += stubs.count { it.kind != ScriptKind.TODO }
todo += stubs.count { it.kind == ScriptKind.TODO }
}
println("[script] $region: ${mapValues.size} maps, $simple filled, $todo todo stubs")
return mapValues
}
private fun toStub(
label: String,
scripts: ScriptIndex,
dialogRefs: Map<String, DialogRef>,
): ScriptStub {
val commands =
scripts.commandsFor(label)
?: return ScriptStub(label, ScriptKind.TODO, null, listOf("script body not found"))
val msgbox = singleMsgbox(commands) ?: return ScriptStub(label, ScriptKind.TODO, null, commands)
val ref =
dialogRefs[msgbox.textLabel] ?: return ScriptStub(label, ScriptKind.TODO, null, commands)
val kind = if (msgbox.type == "MSGBOX_SIGN") ScriptKind.SIGN else ScriptKind.SAY
return ScriptStub(label, kind, ref, emptyList())
}
private data class Msgbox(val textLabel: String, val type: String)
/** The single meaningful command is a msgbox, ignoring cosmetic framing around it. */
private fun singleMsgbox(commands: List<String>): Msgbox? {
val meaningful = commands.filter { opcode(it) !in FRAMING }
if (meaningful.size != 1) return null
val cmd = meaningful.single()
if (opcode(cmd) != "msgbox") return null
val args = cmd.removePrefix("msgbox").substringBefore('@').trim().split(",")
val textLabel = args[0].trim()
if (textLabel.isEmpty() || !textLabel.first().isLetter()) return null
val type = args.getOrNull(1)?.trim().takeUnless { it.isNullOrEmpty() } ?: "MSGBOX_DEFAULT"
return Msgbox(textLabel, type)
}
private fun opcode(command: String): String =
command.substringBefore(' ').substringBefore('\t').trim()
private fun renderMapFile(mapName: String, stubs: List<ScriptStub>): String {
val imports = sortedSetOf<String>()
stubs.forEach { it.dialogRef?.let { ref -> imports.add("$dialogPackage.${ref.className}") } }
val sb = StringBuilder()
sb.append("package ").append(basePackage).append("\n\n")
imports.forEach { sb.append("import ").append(it).append('\n') }
sb.append("import de.fiereu.openmmo.server.game.script.Script\n")
sb.append("import de.fiereu.openmmo.server.game.script.ScriptContext\n\n")
for (stub in stubs) renderStub(sb, stub)
sb.append("internal val ").append(mapName).append("Scripts: Map<String, Script> =\n")
sb.append(" mapOf(\n")
for (stub in stubs) {
sb.append(" \"").append(stub.label).append("\" to ").append(stub.label).append(",\n")
}
sb.append(" )\n")
return sb.toString()
}
private fun renderStub(sb: StringBuilder, stub: ScriptStub) {
when (stub.kind) {
ScriptKind.SIGN -> renderBody(sb, stub.label, "ctx.sign(${stub.dialogRef!!.reference})")
ScriptKind.SAY -> renderBody(sb, stub.label, "ctx.say(${stub.dialogRef!!.reference})")
ScriptKind.TODO -> {
sb.append("/**\n * Not ported yet. Decomp body:\n * ```\n")
for (line in stub.decompLines) {
sb.append(" * ").append(line.replace("*/", "* /")).append('\n')
}
sb.append(" * ```\n */\n")
renderBody(sb, stub.label, "TODO(\"port ${stub.label}\")")
}
}
}
private fun renderBody(sb: StringBuilder, label: String, body: String) {
sb.append("internal object ").append(label).append(" : Script {\n")
sb.append(" override suspend fun run(ctx: ScriptContext) = ").append(body).append("\n")
sb.append("}\n\n")
}
private companion object {
// Cosmetic commands that wrap a plain message and do not change what is shown.
val FRAMING =
setOf(
"lock",
"lockall",
"faceplayer",
"release",
"releaseall",
"closemessage",
"waitmessage",
"waitbuttonpress",
"end",
"return",
)
}
}
@@ -0,0 +1,58 @@
package de.fiereu.openmmo.codegen.script
import java.io.File
/**
* Every executable script in the decomp keyed by its label, with the command lines that make up its
* body. Scripts live in the map scripts and in the shared script files. A label ending in `::`
* opens a script, a label ending in a single `:` opens data such as text and ends the current
* script.
*/
class ScriptIndex private constructor(private val commands: Map<String, List<String>>) {
fun commandsFor(label: String): List<String>? = commands[label]
companion object {
private val labelLine = Regex("^(\\w+)::?\\s*$")
fun build(decompDir: File): ScriptIndex {
val roots = listOf(File(decompDir, "data/maps"), File(decompDir, "data/scripts"))
val out = LinkedHashMap<String, MutableList<String>>()
for (root in roots) {
if (!root.isDirectory) continue
root
.walkTopDown()
.filter { it.isFile && it.extension == "inc" }
.forEach { parseFile(it, out) }
}
return ScriptIndex(out)
}
private fun parseFile(file: File, out: MutableMap<String, MutableList<String>>) {
// Labels stacked with no commands between them are aliases for the same body.
val pending = mutableListOf<String>()
for (raw in file.readLines()) {
val line = raw.trim()
val match = labelLine.matchEntire(line)
if (match != null) {
if (line.endsWith("::")) {
val label = match.groupValues[1]
out.getOrPut(label) { mutableListOf() }
pending.add(label)
} else {
// A data label ends the current script body.
pending.clear()
}
continue
}
if (line.isEmpty()) {
// A blank line separates one script from the next.
pending.clear()
continue
}
if (line.startsWith("@")) continue
for (label in pending) out.getValue(label).add(line)
}
}
}
}
@@ -0,0 +1,25 @@
package de.fiereu.openmmo.codegen.script
/** How a ported script shows its line: a sign box, a spoken box, or not ported yet. */
enum class ScriptKind {
SIGN,
SAY,
TODO,
}
/** A reference to a generated dialog enum entry, for example `LittlerootTown.TownSign`. */
data class DialogRef(val className: String, val entryName: String) {
val reference: String
get() = "$className.$entryName"
}
/**
* One generated script object. [label] is the decomp script label and also the Kotlin object name.
* SIGN and SAY carry a [dialogRef], TODO carries the [decompLines] so the port can be filled in.
*/
data class ScriptStub(
val label: String,
val kind: ScriptKind,
val dialogRef: DialogRef?,
val decompLines: List<String>,
)
@@ -0,0 +1,9 @@
package de.fiereu.openmmo.common.dialog
/**
* A dialog line the client can show, named by its [textId]. The generated dialog enums implement
* it.
*/
interface DialogLine {
val textId: Int
}
+2
View File
@@ -7,3 +7,5 @@ How-to guides for working on OpenMMO.
- [Writing a code generator](writing-generators/): how to add a new
build-time generator that turns pret decomp data into Kotlin game data.
- [Writing overworld scripts](writing-scripts/): how to fill in missing npc and
sign behaviour and tweak the dialog an existing script shows.
@@ -0,0 +1,182 @@
---
title: Writing overworld scripts
description: How to fill in missing npc and sign behaviour and tweak the dialog an existing script shows.
---
Every npc and sign in the overworld runs a **script**. A script decides what
happens when the player presses A on it: which dialog box to show, what to ask,
what to give. This guide shows how to fill in a script that is not done yet, and
how to change what an existing one does.
## How it fits together
```
player presses A
│
v
InteractionService finds the entity/tile and its script label
│ looks up the label in
v
ScriptRegistry label -> Script (from GeneratedScripts.byLabel)
│ runs
v
Script.run(ctx) your code, shows dialog through ctx
```
Each script is a small object keyed by its **decomp label** (like
`LittlerootTown_EventScript_Boy`). The label comes from the map data, so we never
guess it. When the label has no script wired, the player just gets no dialog and
the server logs it.
## Where the scripts live
All scripts are in one folder, one file per map:
```
server.game/src/main/kotlin/de/fiereu/openmmo/server/game/script/generated/
hoenn/LittlerootTown.kt
kanto/PalletTown.kt
...
```
These files were made once by a generator, but you edit them **by hand** from now
on. The generator does not run on a normal build, so your changes are safe. (See
[the warning below](#never-re-run-the-generator-over-your-work).)
## What a script looks like
Here is a real file, `hoenn/LittlerootTown.kt`. Two kinds of entries show up:
```kotlin
// Done: shows one npc dialog box and closes.
internal object LittlerootTown_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(LittlerootTown.BirchSpendsDaysInLab)
}
// Not done yet: the real script had branches, so it needs a hand port.
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_ADVENTURE_STARTED, LittlerootTown_EventScript_GoodLuck
* msgbox LittlerootTown_Text_IfYouGoInGrassPokemonWillJumpOut, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object LittlerootTown_EventScript_Twin : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port LittlerootTown_EventScript_Twin")
}
```
At the bottom of every file is a map that lists every script in it. **Every
script must be in this map** or the game cannot find it:
```kotlin
internal val LittlerootTownScripts: Map<String, Script> =
mapOf(
"LittlerootTown_EventScript_Boy" to LittlerootTown_EventScript_Boy,
"LittlerootTown_EventScript_Twin" to LittlerootTown_EventScript_Twin,
// ...
)
```
Use `ctx.say(line)` for an npc box and `ctx.sign(line)` for a sign or object.
Both **wait** for the player to close the box before the next line runs, so you
can just write boxes top to bottom and they show one after another.
`line` is a value from the generated dialog enum for that map (like
`LittlerootTown.BirchSpendsDaysInLab`). Every text line the decomp had is already
in that enum, so type `LittlerootTown.` and let autocomplete show you the names.
## Tweak an existing script
Say the boy should show a different line. Just change the dialog value:
```kotlin
internal object LittlerootTown_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(LittlerootTown.SomeOtherLine)
}
```
For more than one box:
```kotlin
internal object LittlerootTown_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) {
ctx.say(LittlerootTown.BirchSpendsDaysInLab)
ctx.say(LittlerootTown.AndOneMoreThing)
}
}
```
## Port a missing script
A `TODO("port ...")` script has its original decomp in the comment right above
it. Read that, then replace the `TODO(...)` with real code.
Start simple. This decomp:
```
lock
faceplayer
msgbox LittlerootTown_Text_IfYouGoInGrassPokemonWillJumpOut, MSGBOX_DEFAULT
release
end
```
is just one npc box. Ignore the `lock` / `faceplayer` / `release` / `end` lines,
they are engine plumbing. The real content is the one `msgbox`:
```kotlin
internal object LittlerootTown_EventScript_Twin : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(LittlerootTown.IfYouGoInGrassPokemonWillJumpOut)
}
```
For a branching script, the decomp uses `goto_if_set` / `goto_if_eq` to jump to
other labels based on flags or variables. Port the branch with normal Kotlin
`if`. Flags and variables are not wired up yet, so for now pick the branch that
fits a fresh save, and leave a `// TODO` for the condition:
```kotlin
internal object LittlerootTown_EventScript_Twin : Script {
override suspend fun run(ctx: ScriptContext) {
// TODO check FLAG_ADVENTURE_STARTED once flags exist
ctx.say(LittlerootTown.IfYouGoInGrassPokemonWillJumpOut)
}
}
```
## Rules to remember
### Never re-run the generator over your work
The generator overwrites these files. It does **not** run on a normal build, so
you are safe day to day. Do not run `gradlew :codegen:generateScriptStubs`
after you start porting, or it wipes your ports.
### Keep the script in the map
If you add a brand new script object, add it to the map at the bottom of the file
too. If it is not in the map, the label lookup returns null and nothing shows.
### Do not wait on packets yourself
`ctx.say` and `ctx.sign` are the only correct way to wait for the player. They run
on a separate scope so the connection keeps reading packets while the box is open.
If you `await` a packet directly inside a script, the reply never arrives and the
connection locks up.
## Test it
Restart the game server and press A on the npc or sign in the client. If nothing
shows, check the server log. A missing wiring prints something like:
```
NPC entityIdx=3 script=LittlerootTown_EventScript_Boy has no wired dialog
```
which means the label is not in the map.
@@ -113,7 +113,7 @@ object GameProtocol : Protocol() {
bidi<DialogOptionPacket>(0x26u, DialogOptionPacketCodec)
c2s<PlayerStopMovingPacket>(0x27u, PlayerStopMovingPacketCodec)
c2s<TileInteractPacket>(0x27u, TileInteractPacketCodec)
s2c<PcTogglePacket>(0x27u, PcTogglePacketCodec)
c2s<TypedBinaryDataPacket>(0x28u, TypedBinaryDataPacketCodec)
@@ -1,12 +0,0 @@
package de.fiereu.openmmo.net.game.packets
import de.fiereu.bytecodec.CodecScope
import de.fiereu.bytecodec.PacketCodec
class PlayerStopMovingPacket
object PlayerStopMovingPacketCodec : PacketCodec<PlayerStopMovingPacket>() {
override fun CodecScope<PlayerStopMovingPacket>.body(): PlayerStopMovingPacket {
return PlayerStopMovingPacket()
}
}
@@ -0,0 +1,17 @@
package de.fiereu.openmmo.net.game.packets
import de.fiereu.bytecodec.CodecScope
import de.fiereu.bytecodec.PacketCodec
/**
* Sent when the player presses the action button on the tile they face. It has no fields, the
* server uses the player position and facing. Signs and furniture come through here, npcs use an
* entity interaction instead.
*/
class TileInteractPacket
object TileInteractPacketCodec : PacketCodec<TileInteractPacket>() {
override fun CodecScope<TileInteractPacket>.body(): TileInteractPacket {
return TileInteractPacket()
}
}
@@ -8,6 +8,7 @@ import de.fiereu.openmmo.common.auth.SessionTokenVerifier
import de.fiereu.openmmo.common.io.PemKeyLoader
import de.fiereu.openmmo.common.io.resource
import de.fiereu.openmmo.server.game.config.GameServerConfig
import de.fiereu.openmmo.server.game.script.ScriptRegistry
import de.fiereu.openmmo.server.game.storage.CharacterRepository
import de.fiereu.openmmo.server.game.storage.JooqCharacterRepository
import de.fiereu.openmmo.server.game.world.interest.InterestPolicy
@@ -56,6 +57,8 @@ object GameServerModule {
@Provides @Singleton fun interestPolicy(impl: PassThroughInterestPolicy): InterestPolicy = impl
@Provides @Singleton fun scriptRegistry(): ScriptRegistry = ScriptRegistry.generated()
@Provides
@Singleton
fun characterRepository(impl: JooqCharacterRepository): CharacterRepository = impl
@@ -24,6 +24,7 @@ import de.fiereu.openmmo.net.game.packets.RequestCharactersPacket
import de.fiereu.openmmo.net.game.packets.RequestPlayerPacket
import de.fiereu.openmmo.net.game.packets.RequestSocialProfilePacket
import de.fiereu.openmmo.net.game.packets.SelectCharacterPacket
import de.fiereu.openmmo.net.game.packets.TileInteractPacket
import de.fiereu.openmmo.net.game.packets.UnblockPlayerPacket
import de.fiereu.openmmo.net.game.packets.battle.BattleActionPacket
import de.fiereu.openmmo.net.game.packets.battle.BattleActionSelectPacket
@@ -68,11 +69,13 @@ import de.fiereu.openmmo.server.game.services.MultiplayerService
import de.fiereu.openmmo.server.game.services.PresenceService
import de.fiereu.openmmo.server.game.services.SocialService
import de.fiereu.openmmo.server.game.session.PLAYER_STATE
import de.fiereu.openmmo.server.game.session.SCRIPT_SCOPE
import de.fiereu.openmmo.server.game.session.SessionRegistry
import de.fiereu.openmmo.server.game.storage.CharacterStore
import io.github.oshai.kotlinlogging.KotlinLogging
import javax.inject.Inject
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.cancel
private val log = KotlinLogging.logger {}
@@ -104,6 +107,7 @@ constructor(
onSuspend<FaceDirectionPacket> { event -> movementService.onFaceDirection(event) }
onSuspend<EntityInteractPacket> { event -> interactionService.onEntityInteract(event) }
onSuspend<TileInteractPacket> { event -> interactionService.onTileInteract(event) }
onSuspend<DialogActionResponsePacket> { event -> dialogService.onInteractive(event) }
onSuspend<DialogChoicePacket> { event -> dialogService.onDialogChoice(event) }
@@ -155,6 +159,8 @@ constructor(
}
override fun onInactive() {
// Cancel any script coroutine still waiting on a dialog reply from this connection.
session.attributes[SCRIPT_SCOPE]?.cancel()
val state = session.attributes[PLAYER_STATE] ?: return
log.info { "Player ${state.characterId} disconnected." }
val charId = state.characterId
@@ -0,0 +1,6 @@
package de.fiereu.openmmo.server.game.script
/** An overworld script the player can trigger. It runs as a coroutine so it can wait on dialog. */
fun interface Script {
suspend fun run(ctx: ScriptContext)
}
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script
import de.fiereu.network.SessionContext
import de.fiereu.openmmo.common.dialog.DialogLine
import de.fiereu.openmmo.server.game.services.DialogService
import de.fiereu.openmmo.server.game.session.PlayerState
/** What a [Script] uses to show dialog to the player it interacted with. */
class ScriptContext
internal constructor(
private val session: SessionContext,
private val state: PlayerState,
/** The npc the player talked to, or -1 for a sign. */
val entityId: Long,
private val dialog: DialogService,
) {
/** Show [line] as a sign and wait for the player to close it. */
suspend fun sign(line: DialogLine) = dialog.showAndWait(session, state, line.textId, SIGN, -1)
/** Show [line] from the interacted entity and wait for the player to go on. */
suspend fun say(line: DialogLine) = dialog.showAndWait(session, state, line.textId, NPC, entityId)
private companion object {
// Sign boxes have no speaker, npc boxes point at the entity.
const val SIGN = 3
const val NPC = 4
}
}
@@ -0,0 +1,12 @@
package de.fiereu.openmmo.server.game.script
import de.fiereu.openmmo.server.game.script.generated.GeneratedScripts
/** Finds the [Script] for a decomp script label, or null when nothing is wired for it. */
class ScriptRegistry(private val byLabel: Map<String, Script>) {
fun forLabel(scriptLabel: String): Script? = byLabel[scriptLabel]
companion object {
fun generated(): ScriptRegistry = ScriptRegistry(GeneratedScripts.byLabel)
}
}
@@ -0,0 +1,878 @@
package de.fiereu.openmmo.server.game.script.generated
import de.fiereu.openmmo.server.game.script.Script
/**
* Every ported script keyed by its decomp label. Bootstrapped once from the decomp then edited by
* hand, so this file is committed source and is not regenerated on build.
*/
internal object GeneratedScripts {
val byLabel: Map<String, Script> =
HashMap<String, Script>().apply {
chunk0()
chunk1()
chunk2()
chunk3()
chunk4()
chunk5()
chunk6()
chunk7()
chunk8()
chunk9()
chunk10()
chunk11()
chunk12()
chunk13()
chunk14()
chunk15()
chunk16()
}
private fun MutableMap<String, Script>.chunk0() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_CaptainsOfficeScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Corridors_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Corridors_B1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.AbandonedShip_HiddenFloorCorridorsScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_HiddenFloorRoomsScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Room_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Rooms2_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Rooms2_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Rooms_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AbandonedShip_Rooms_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AncientTombScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AquaHideout_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AquaHideout_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.AquaHideout_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ArtisanCave_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ArtisanCave_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleColosseum_2PScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_BattleArenaLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_BattleDomeLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_BattleFactoryLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_BattlePalaceLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_BattlePikeLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_BattlePikeRoomNormalScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_BattlePikeThreePathRoomScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_BattlePyramidLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_BattlePyramidTopScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_BattleTowerLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_BattleTowerMultiPartnerRoomScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.BattleFrontier_ExchangeServiceCornerScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge6Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge7Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_Lounge8Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_OutsideEastScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_OutsideWestScripts)
}
private fun MutableMap<String, Script>.chunk1() {
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_PokemonCenter_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_RankingHallScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_ReceptionGateScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattleFrontier_ScottsHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BattlePyramidSquare01Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BirthIsland_ExteriorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.BirthIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.CaveOfOrigin_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DesertRuinsScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DesertUnderpassScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DewfordTownScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DewfordTown_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DewfordTown_HallScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DewfordTown_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DewfordTown_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.DewfordTown_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCity_DrakesRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCity_GlaciasRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCity_PhoebesRoomScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCity_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCity_PokemonLeague_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.EverGrandeCity_SidneysRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FallarborTownScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.FallarborTown_BattleTentLobbyScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FallarborTown_CozmosHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FallarborTown_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.FallarborTown_MoveRelearnersHouseScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.FallarborTown_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FarawayIsland_EntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FarawayIsland_InteriorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FieryPathScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_DecorationShopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_House4Scripts)
}
private fun MutableMap<String, Script>.chunk2() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_House5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.FortreeCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.GraniteCave_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.GraniteCave_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.GraniteCave_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.GraniteCave_StevensRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.InsideOfTruckScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.IslandCaveScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.JaggedPassScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTownScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTown_Gym_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTown_Gym_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTown_HerbShopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTown_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTown_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LavaridgeTown_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_ContestHallScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_ContestLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_CoveLilyMotel_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_CoveLilyMotel_2FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.LilycoveCity_DepartmentStoreElevatorScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.LilycoveCity_DepartmentStoreRooftopScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_DepartmentStore_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_DepartmentStore_2FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_DepartmentStore_3FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_DepartmentStore_4FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_DepartmentStore_5FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_House4Scripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_LilycoveMuseum_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_LilycoveMuseum_2FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_MoveDeletersHouseScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LilycoveCity_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.LilycoveCity_PokemonTrainerFanClubScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LittlerootTownScripts)
}
private fun MutableMap<String, Script>.chunk3() {
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LittlerootTown_BrendansHouse_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.LittlerootTown_BrendansHouse_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.LittlerootTown_MaysHouse_2FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.LittlerootTown_ProfessorBirchsLabScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_2F_1RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_2F_2RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_3F_1RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_3F_2RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_3F_3RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MagmaHideout_4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_BikeShopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_GameCornerScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.MauvilleCity_PokemonCenter_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MeteorFalls_1F_1RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MeteorFalls_1F_2RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MeteorFalls_B1F_2RScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MeteorFalls_StevensCaveScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MirageTower_4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_GameCorner_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_House4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_PokemonCenter_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_SpaceCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_SpaceCenter_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MossdeepCity_StevensHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtChimneyScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtChimney_CableCarStationScripts)
}
private fun MutableMap<String, Script>.chunk4() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_5FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_6FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_ExteriorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.MtPyre_SummitScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.NavelRock_BottomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.NavelRock_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.NewMauville_InsideScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.OldaleTownScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.OldaleTown_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.OldaleTown_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.OldaleTown_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.OldaleTown_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTownScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTown_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTown_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTown_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTown_House4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTown_House5Scripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.PacifidlogTown_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgCity_WallysHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.PetalburgWoodsScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RecordCornerScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route101Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route102Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route103Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route104Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route104_MrBrineysHouseScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.Route104_PrettyPetalFlowerShopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route105Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route106Scripts)
}
private fun MutableMap<String, Script>.chunk5() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route107Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route108Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route109Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route109_SeashoreHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110Scripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.Route110_SeasideCyclingRoadNorthEntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.Route110_SeasideCyclingRoadSouthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHouseEndScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHouseEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle6Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle7Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route110_TrickHousePuzzle8Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route111Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route111_OldLadysRestStopScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.Route111_WinstrateFamilysHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route112Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route112_CableCarStationScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route113Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route113_GlassWorkshopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route114Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route114_FossilManiacsHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route114_FossilManiacsTunnelScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route114_LanettesHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route115Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route116Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route116_TunnelersRestHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route117Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route117_PokemonDayCareScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route118Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route119Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route119_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route119_WeatherInstitute_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route119_WeatherInstitute_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route120Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route121Scripts)
}
private fun MutableMap<String, Script>.chunk6() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route121_SafariZoneEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route123Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route123_BerryMastersHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route124Scripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.Route124_DivingTreasureHuntersHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route125Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route126Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route127Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route128Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route129Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route130Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route131Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route132Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route133Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Route134Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_CuttersHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_DevonCorp_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_DevonCorp_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_DevonCorp_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_Flat1_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_Flat1_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_Flat2_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_Flat2_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_Flat2_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RustboroCity_PokemonSchoolScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.RusturfTunnelScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SSTidalCorridorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SSTidalLowerDeckScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SSTidalRoomsScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_NorthScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_NortheastScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_NorthwestScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_RestHouseScripts)
}
private fun MutableMap<String, Script>.chunk7() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_SouthScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_SoutheastScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SafariZone_SouthwestScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ScorchedSlabScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SeafloorCavern_EntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SeafloorCavern_Room1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SeafloorCavern_Room3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SeafloorCavern_Room4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SeafloorCavern_Room9Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SealedChamber_InnerRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SealedChamber_OuterRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SecretBase_BlueCave1Scripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.ShoalCave_LowTideEntranceRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ShoalCave_LowTideIceRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ShoalCave_LowTideInnerRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ShoalCave_LowTideLowerRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.ShoalCave_LowTideStairsRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SkyPillar_OutsideScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SkyPillar_TopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCityScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_BattleTentLobbyScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_NameRatersHouseScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_OceanicMuseum_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_OceanicMuseum_2FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_PokemonFanClubScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_SternsShipyard_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SlateportCity_SternsShipyard_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_Gym_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_Gym_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House6Scripts)
}
private fun MutableMap<String, Script>.chunk8() {
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_House7Scripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.SootopolisCity_LotadAndSeedotHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.SootopolisCity_MysteryEventsHouse_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.SootopolisCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SouthernIsland_ExteriorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.SouthernIsland_InteriorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.TradeCenterScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.TrainerHill_ElevatorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.TrainerHill_EntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.TrainerHill_RoofScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Underwater_SeafloorCavernScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.Underwater_SealedChamberScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.UnionRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VerdanturfTownScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.VerdanturfTown_BattleTentLobbyScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn
.VerdanturfTown_FriendshipRatersHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VerdanturfTown_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VerdanturfTown_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.hoenn.VerdanturfTown_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VerdanturfTown_WandasHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VictoryRoad_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VictoryRoad_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.hoenn.VictoryRoad_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_Condominiums_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_Condominiums_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_Condominiums_3FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_Condominiums_RoofScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CeladonCity_Condominiums_RoofRoomScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_DepartmentStore_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_DepartmentStore_2FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_DepartmentStore_3FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_DepartmentStore_4FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_DepartmentStore_5FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CeladonCity_DepartmentStore_ElevatorScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CeladonCity_DepartmentStore_RoofScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_GameCornerScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CeladonCity_GameCorner_PrizeRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_GymScripts)
}
private fun MutableMap<String, Script>.chunk9() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_HotelScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeladonCity_RestaurantScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCave_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCave_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCave_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_BikeShopScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_House4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_House5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CeruleanCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CinnabarIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CinnabarIsland_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.CinnabarIsland_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.CinnabarIsland_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CinnabarIsland_PokemonLab_EntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CinnabarIsland_PokemonLab_ExperimentRoomScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CinnabarIsland_PokemonLab_LoungeScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.CinnabarIsland_PokemonLab_ResearchRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.DiglettsCave_NorthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.DiglettsCave_SouthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room10Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room11Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room12Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room13Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room14Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_LostCave_Room4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_MeadowScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_MemorialPillarScripts)
}
private fun MutableMap<String, Script>.chunk10() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_ResortGorgeousScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_ResortGorgeous_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_RocketWarehouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FiveIsland_WaterLabyrinthScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_IcefallCave_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_IcefallCave_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_IcefallCave_BackScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_LoreleisHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FourIsland_PokemonDayCareScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_SafariZone_EntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_SafariZone_OfficeScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.FuchsiaCity_WardensHouseScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.IndigoPlateau_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.LavenderTownScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.LavenderTown_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.LavenderTown_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.LavenderTown_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.LavenderTown_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.LavenderTown_VolunteerPokemonHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.MtEmber_ExteriorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.MtEmber_RubyPath_B4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.MtEmber_RubyPath_B5FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.MtEmber_SummitScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.MtMoon_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.MtMoon_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.NavelRock_BaseScripts)
}
private fun MutableMap<String, Script>.chunk11() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_KindleRoadScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_KindleRoad_EmberSpaScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.OneIsland_TreasureBeachScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PalletTownScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PalletTown_PlayersHouse_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PalletTown_PlayersHouse_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PalletTown_ProfessorOaksLabScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PalletTown_RivalsHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_Museum_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_Museum_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PewterCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonLeague_AgathasRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonLeague_BrunosRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonLeague_LancesRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonLeague_LoreleisRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonMansion_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonMansion_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonMansion_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonMansion_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_5FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_6FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PokemonTower_7FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.PowerPlantScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RockTunnel_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RockTunnel_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RocketHideout_B1FScripts)
}
private fun MutableMap<String, Script>.chunk12() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RocketHideout_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RocketHideout_B3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RocketHideout_B4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.RocketHideout_ElevatorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route10Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route10_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route11Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route11_EastEntrance_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route11_EastEntrance_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route12Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route12_FishingHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route12_NorthEntrance_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route12_NorthEntrance_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route13Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route14Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route15Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route15_WestEntrance_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route15_WestEntrance_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route16Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route16_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route16_NorthEntrance_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route16_NorthEntrance_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route17Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route18Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route18_EastEntrance_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route18_EastEntrance_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route19Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route20Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route21_NorthScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route21_SouthScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route22Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route22_NorthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route23Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route24Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route25Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route25_SeaCottageScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route2_EastBuildingScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route2_HouseScripts)
}
private fun MutableMap<String, Script>.chunk13() {
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.Route2_ViridianForest_NorthEntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.Route2_ViridianForest_SouthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route4_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route5_PokemonDayCareScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route5_SouthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route6Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route6_NorthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route7Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route7_EastEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route8Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route8_WestEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.Route9Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_CorridorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room6Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_1F_Room7Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_CorridorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_Room1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_Room2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_Room3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_Room4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_Room5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_2F_Room6Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_3F_CorridorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_B1F_Room1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_B1F_Room2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_B1F_Room3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_B1F_Room4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_B1F_Room5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_CaptainsOfficeScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_DeckScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SSAnne_KitchenScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_CenterScripts)
}
private fun MutableMap<String, Script>.chunk14() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_Center_RestHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_EastScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_East_RestHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_NorthScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_North_RestHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_SecretHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_WestScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SafariZone_West_RestHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_CopycatsHouse_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_CopycatsHouse_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_DojoScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_MrPsychicsHouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SaffronCity_PokemonCenter_1FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.SaffronCity_PokemonTrainerFanClubScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SeafoamIslands_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SeafoamIslands_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SeafoamIslands_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SeafoamIslands_B4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_House_Room1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_SevaultCanyonScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.SevenIsland_SevaultCanyon_EntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_SevaultCanyon_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_TanobyRuinsScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SevenIsland_TrainerTowerScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_10FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_11FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_4FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_5FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_6FScripts)
}
private fun MutableMap<String, Script>.chunk15() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_7FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_8FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_9FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SilphCo_ElevatorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_DottedHole_B1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_DottedHole_B2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_DottedHole_B3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_DottedHole_B4FScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto
.SixIsland_DottedHole_SapphireRoomScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_GreenPathScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_OutcastIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_PatternBushScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_RuinValleyScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_WaterPathScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_WaterPath_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.SixIsland_WaterPath_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_BerryForestScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_BondBridgeScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_DunsparceTunnelScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_House4Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_House5Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_MartScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ThreeIsland_PortScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TrainerTower_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TrainerTower_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TrainerTower_ElevatorScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TrainerTower_LobbyScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TwoIslandScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TwoIsland_CapeBrink_HouseScripts)
}
private fun MutableMap<String, Script>.chunk16() {
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TwoIsland_HarborScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TwoIsland_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TwoIsland_JoyfulGameCornerScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.TwoIsland_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.UndergroundPath_EastEntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.UndergroundPath_NorthEntranceScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.UndergroundPath_SouthEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.UndergroundPath_WestEntranceScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_House1Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_House2Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_House3Scripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VermilionCity_PokemonFanClubScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VictoryRoad_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VictoryRoad_2FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.VictoryRoad_3FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ViridianCityScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ViridianCity_GymScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ViridianCity_HouseScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ViridianCity_MartScripts)
putAll(
de.fiereu.openmmo.server.game.script.generated.kanto.ViridianCity_PokemonCenter_1FScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ViridianCity_SchoolScripts)
putAll(de.fiereu.openmmo.server.game.script.generated.kanto.ViridianForestScripts)
}
}
@@ -0,0 +1,43 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_EXCHANGED_SCANNER, AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus
* checkitem ITEM_SCANNER
* goto_if_eq VAR_RESULT, TRUE, AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner
* goto_if_set FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_2_SCANNER, AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus
* msgbox AbandonedShip_CaptainsOffice_Text_NoSuccessFindingScanner, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AbandonedShip_CaptainsOffice_EventScript_CaptSternAide : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_CaptainsOffice_EventScript_CaptSternAide")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_STORAGE_KEY
* end
* ```
*/
internal object AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey")
}
internal val AbandonedShip_CaptainsOfficeScripts: Map<String, Script> =
mapOf(
"AbandonedShip_CaptainsOffice_EventScript_CaptSternAide" to
AbandonedShip_CaptainsOffice_EventScript_CaptSternAide,
"AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey" to
AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey,
)
@@ -0,0 +1,30 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.AbandonedShip_Corridors_1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object AbandonedShip_Corridors_1F_EventScript_Youngster : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(AbandonedShip_Corridors_1F.IsntItFunHere)
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_CHARLIE, AbandonedShip_Corridors_1F_Text_CharlieIntro, AbandonedShip_Corridors_1F_Text_CharlieDefeat
* msgbox AbandonedShip_Corridors_1F_Text_CharliePostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AbandonedShip_Corridors_1F_EventScript_Charlie : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Corridors_1F_EventScript_Charlie")
}
internal val AbandonedShip_Corridors_1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Corridors_1F_EventScript_Youngster" to
AbandonedShip_Corridors_1F_EventScript_Youngster,
"AbandonedShip_Corridors_1F_EventScript_Charlie" to
AbandonedShip_Corridors_1F_EventScript_Charlie,
)
@@ -0,0 +1,54 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.AbandonedShip_Corridors_B1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object AbandonedShip_Corridors_B1F_EventScript_TuberM : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(AbandonedShip_Corridors_B1F.YayItsAShip)
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_DUNCAN, AbandonedShip_Corridors_B1F_Text_DuncanIntro, AbandonedShip_Corridors_B1F_Text_DuncanDefeat
* msgbox AbandonedShip_Corridors_B1F_Text_DuncanPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AbandonedShip_Corridors_B1F_EventScript_Duncan : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Corridors_B1F_EventScript_Duncan")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_USED_STORAGE_KEY, AbandonedShip_Corridors_B1F_EventScript_DoorIsUnlocked
* checkitem ITEM_STORAGE_KEY
* goto_if_eq VAR_RESULT, FALSE, AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked
* msgbox AbandonedShip_Corridors_B1F_Text_InsertedStorageKey, MSGBOX_DEFAULT
* playse SE_PIN
* removeitem ITEM_STORAGE_KEY
* setflag FLAG_USED_STORAGE_KEY
* call AbandonedShip_Corridors_B1F_EventScript_UnlockStorageRoom
* special DrawWholeMapView
* releaseall
* end
* ```
*/
internal object AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor")
}
internal val AbandonedShip_Corridors_B1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Corridors_B1F_EventScript_TuberM" to
AbandonedShip_Corridors_B1F_EventScript_TuberM,
"AbandonedShip_Corridors_B1F_EventScript_Duncan" to
AbandonedShip_Corridors_B1F_EventScript_Duncan,
"AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor" to
AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor,
)
@@ -0,0 +1,104 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_USED_ROOM_1_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
* checkitem ITEM_ROOM_1_KEY
* goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked
* msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
* playse SE_PIN
* removeitem ITEM_ROOM_1_KEY
* setflag FLAG_USED_ROOM_1_KEY
* call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom1
* special DrawWholeMapView
* releaseall
* end
* ```
*/
internal object AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_USED_ROOM_2_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
* checkitem ITEM_ROOM_2_KEY
* goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked
* msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
* playse SE_PIN
* removeitem ITEM_ROOM_2_KEY
* setflag FLAG_USED_ROOM_2_KEY
* call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom2
* special DrawWholeMapView
* releaseall
* end
* ```
*/
internal object AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_USED_ROOM_4_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
* checkitem ITEM_ROOM_4_KEY
* goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked
* msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
* playse SE_PIN
* removeitem ITEM_ROOM_4_KEY
* setflag FLAG_USED_ROOM_4_KEY
* call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom4
* special DrawWholeMapView
* releaseall
* end
* ```
*/
internal object AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_USED_ROOM_6_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
* checkitem ITEM_ROOM_6_KEY
* goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked
* msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
* playse SE_PIN
* removeitem ITEM_ROOM_6_KEY
* setflag FLAG_USED_ROOM_6_KEY
* call AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom6
* special DrawWholeMapView
* releaseall
* end
* ```
*/
internal object AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door")
}
internal val AbandonedShip_HiddenFloorCorridorsScripts: Map<String, Script> =
mapOf(
"AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door" to
AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door,
"AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door" to
AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door,
"AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door" to
AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door,
"AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door" to
AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door,
)
@@ -0,0 +1,72 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.AbandonedShip_HiddenFloorRooms
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_LUXURY_BALL
* end
* ```
*/
internal object AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_SCANNER
* end
* ```
*/
internal object AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_TM_RAIN_DANCE
* end
* ```
*/
internal object AbandonedShip_HiddenFloorRooms_EventScript_ItemTMRainDance : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorRooms_EventScript_ItemTMRainDance")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_WATER_STONE
* end
* ```
*/
internal object AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone")
}
internal object AbandonedShip_HiddenFloorRooms_EventScript_Trash : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(AbandonedShip_HiddenFloorRooms.BrightShinyTrash)
}
internal val AbandonedShip_HiddenFloorRoomsScripts: Map<String, Script> =
mapOf(
"AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall" to
AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall,
"AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner" to
AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner,
"AbandonedShip_HiddenFloorRooms_EventScript_ItemTMRainDance" to
AbandonedShip_HiddenFloorRooms_EventScript_ItemTMRainDance,
"AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone" to
AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone,
"AbandonedShip_HiddenFloorRooms_EventScript_Trash" to
AbandonedShip_HiddenFloorRooms_EventScript_Trash,
)
@@ -0,0 +1,22 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_TM_ICE_BEAM
* end
* ```
*/
internal object AbandonedShip_Room_B1F_EventScript_ItemTMIceBeam : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Room_B1F_EventScript_ItemTMIceBeam")
}
internal val AbandonedShip_Room_B1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Room_B1F_EventScript_ItemTMIceBeam" to
AbandonedShip_Room_B1F_EventScript_ItemTMIceBeam,
)
@@ -0,0 +1,85 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanIntro, AbandonedShip_Rooms2_1F_Text_DanDefeat, AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterDan
* specialvar VAR_RESULT, ShouldTryRematchBattle
* goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_DanRematch
* msgbox AbandonedShip_Rooms2_1F_Text_DanPostBattle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AbandonedShip_Rooms2_1F_EventScript_Dan : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms2_1F_EventScript_Dan")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraIntro, AbandonedShip_Rooms2_1F_Text_KiraDefeat, AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterKira
* specialvar VAR_RESULT, ShouldTryRematchBattle
* goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_KiraRematch
* msgbox AbandonedShip_Rooms2_1F_Text_KiraPostBattle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AbandonedShip_Rooms2_1F_EventScript_Kira : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms2_1F_EventScript_Kira")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_REVIVE
* end
* ```
*/
internal object AbandonedShip_Rooms2_1F_EventScript_ItemRevive : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms2_1F_EventScript_ItemRevive")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GARRISON, AbandonedShip_Rooms2_1F_Text_GarrisonIntro, AbandonedShip_Rooms2_1F_Text_GarrisonDefeat
* msgbox AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AbandonedShip_Rooms2_1F_EventScript_Garrison : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms2_1F_EventScript_Garrison")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_JANI, AbandonedShip_Rooms2_1F_Text_JaniIntro, AbandonedShip_Rooms2_1F_Text_JaniDefeat
* msgbox AbandonedShip_Rooms2_1F_Text_JaniPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AbandonedShip_Rooms2_1F_EventScript_Jani : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms2_1F_EventScript_Jani")
}
internal val AbandonedShip_Rooms2_1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Rooms2_1F_EventScript_Dan" to AbandonedShip_Rooms2_1F_EventScript_Dan,
"AbandonedShip_Rooms2_1F_EventScript_Kira" to AbandonedShip_Rooms2_1F_EventScript_Kira,
"AbandonedShip_Rooms2_1F_EventScript_ItemRevive" to
AbandonedShip_Rooms2_1F_EventScript_ItemRevive,
"AbandonedShip_Rooms2_1F_EventScript_Garrison" to
AbandonedShip_Rooms2_1F_EventScript_Garrison,
"AbandonedShip_Rooms2_1F_EventScript_Jani" to AbandonedShip_Rooms2_1F_EventScript_Jani,
)
@@ -0,0 +1,30 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.AbandonedShip_Rooms2_B1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object AbandonedShip_Rooms2_B1F_EventScript_Camper : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(AbandonedShip_Rooms2_B1F.PerfectPlaceToGoExploring)
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_DIVE_BALL
* end
* ```
*/
internal object AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall")
}
internal val AbandonedShip_Rooms2_B1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Rooms2_B1F_EventScript_Camper" to
AbandonedShip_Rooms2_B1F_EventScript_Camper,
"AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall" to
AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall,
)
@@ -0,0 +1,61 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.AbandonedShip_Rooms_1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object AbandonedShip_Rooms_1F_EventScript_Gentleman : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(AbandonedShip_Rooms_1F.TakingALookAround)
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_HARBOR_MAIL
* end
* ```
*/
internal object AbandonedShip_Rooms_1F_EventScript_ItemHarborMail : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms_1F_EventScript_ItemHarborMail")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_ThaliaIntro, AbandonedShip_Rooms_1F_Text_ThaliaDefeat, AbandonedShip_Rooms_1F_EventScript_RegisterThalia
* specialvar VAR_RESULT, ShouldTryRematchBattle
* goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms_1F_EventScript_ThaliaRematch
* msgbox AbandonedShip_Rooms_1F_Text_ThaliaPostBattle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AbandonedShip_Rooms_1F_EventScript_Thalia : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms_1F_EventScript_Thalia")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_DEMETRIUS, AbandonedShip_Rooms_1F_Text_DemetriusIntro, AbandonedShip_Rooms_1F_Text_DemetriusDefeat
* msgbox AbandonedShip_Rooms_1F_Text_DemetriusPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AbandonedShip_Rooms_1F_EventScript_Demetrius : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms_1F_EventScript_Demetrius")
}
internal val AbandonedShip_Rooms_1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Rooms_1F_EventScript_Gentleman" to
AbandonedShip_Rooms_1F_EventScript_Gentleman,
"AbandonedShip_Rooms_1F_EventScript_ItemHarborMail" to
AbandonedShip_Rooms_1F_EventScript_ItemHarborMail,
"AbandonedShip_Rooms_1F_EventScript_Thalia" to AbandonedShip_Rooms_1F_EventScript_Thalia,
"AbandonedShip_Rooms_1F_EventScript_Demetrius" to
AbandonedShip_Rooms_1F_EventScript_Demetrius,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.AbandonedShip_Rooms_B1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object AbandonedShip_Rooms_B1F_EventScript_FatMan : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(AbandonedShip_Rooms_B1F.GettingQueasy)
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_ESCAPE_ROPE
* end
* ```
*/
internal object AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope")
}
internal val AbandonedShip_Rooms_B1FScripts: Map<String, Script> =
mapOf(
"AbandonedShip_Rooms_B1F_EventScript_FatMan" to AbandonedShip_Rooms_B1F_EventScript_FatMan,
"AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope" to
AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope,
)
@@ -0,0 +1,66 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_REGISTEEL, CRY_MODE_ENCOUNTER
* delay 40
* waitmoncry
* setwildbattle SPECIES_REGISTEEL, 40
* setflag FLAG_SYS_CTRL_OBJ_DELETE
* special StartRegiBattle
* clearflag FLAG_SYS_CTRL_OBJ_DELETE
* specialvar VAR_RESULT, GetBattleOutcome
* goto_if_eq VAR_RESULT, B_OUTCOME_WON, AncientTomb_EventScript_DefeatedRegisteel
* goto_if_eq VAR_RESULT, B_OUTCOME_RAN, AncientTomb_EventScript_RanFromRegisteel
* goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, AncientTomb_EventScript_RanFromRegisteel
* setflag FLAG_DEFEATED_REGISTEEL
* release
* end
* ```
*/
internal object AncientTomb_EventScript_Registeel : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AncientTomb_EventScript_Registeel")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_BigHoleInWall
* braillemsgbox AncientTomb_Braille_ShineInTheMiddle
* releaseall
* end
* ```
*/
internal object AncientTomb_EventScript_CaveEntranceMiddle : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AncientTomb_EventScript_CaveEntranceMiddle")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* braillemsgbox AncientTomb_Braille_ShineInTheMiddle
* releaseall
* end
* ```
*/
internal object AncientTomb_EventScript_CaveEntranceSide : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AncientTomb_EventScript_CaveEntranceSide")
}
internal val AncientTombScripts: Map<String, Script> =
mapOf(
"AncientTomb_EventScript_Registeel" to AncientTomb_EventScript_Registeel,
"AncientTomb_EventScript_CaveEntranceMiddle" to AncientTomb_EventScript_CaveEntranceMiddle,
"AncientTomb_EventScript_CaveEntranceSide" to AncientTomb_EventScript_CaveEntranceSide,
)
@@ -0,0 +1,59 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_SlateportHint1
* goto_if_set FLAG_RECEIVED_RED_OR_BLUE_ORB, AquaHideout_1F_EventScript_MagmaHideoutHint1
* msgbox AquaHideout_1F_Text_OurBossIsSnatchingSomething, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AquaHideout_1F_EventScript_HideoutEntranceGrunt1 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AquaHideout_1F_EventScript_HideoutEntranceGrunt1")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_SlateportHint2
* goto_if_set FLAG_RECEIVED_RED_OR_BLUE_ORB, AquaHideout_1F_EventScript_MagmaHideoutHint2
* msgbox AquaHideout_1F_Text_BossIsOnRoute122, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AquaHideout_1F_EventScript_HideoutEntranceGrunt2 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AquaHideout_1F_EventScript_HideoutEntranceGrunt2")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_1, AquaHideout_1F_Text_Grunt1Intro, AquaHideout_1F_Text_Grunt1Defeat, AquaHideout_1F_EventScript_Grunt1Defeated
* msgbox AquaHideout_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_1F_EventScript_Grunt1 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_1F_EventScript_Grunt1")
}
internal val AquaHideout_1FScripts: Map<String, Script> =
mapOf(
"AquaHideout_1F_EventScript_HideoutEntranceGrunt1" to
AquaHideout_1F_EventScript_HideoutEntranceGrunt1,
"AquaHideout_1F_EventScript_HideoutEntranceGrunt2" to
AquaHideout_1F_EventScript_HideoutEntranceGrunt2,
"AquaHideout_1F_EventScript_Grunt1" to AquaHideout_1F_EventScript_Grunt1,
)
@@ -0,0 +1,152 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_2, AquaHideout_B1F_Text_Grunt2Intro, AquaHideout_B1F_Text_Grunt2Defeat, AquaHideout_B1F_EventScript_Grunt2Defeated
* msgbox AquaHideout_B1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_Grunt2 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_Grunt2")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_3, AquaHideout_B1F_Text_Grunt3Intro, AquaHideout_B1F_Text_Grunt3Defeat, AquaHideout_B1F_EventScript_Grunt3Defeated
* msgbox AquaHideout_B1F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_Grunt3 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_Grunt3")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_MAX_ELIXIR
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_ItemMaxElixir : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AquaHideout_B1F_EventScript_ItemMaxElixir")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_5, AquaHideout_B1F_Text_Grunt5Intro, AquaHideout_B1F_Text_Grunt5Defeat
* msgbox AquaHideout_B1F_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_Grunt5 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_Grunt5")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_MASTER_BALL
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_ItemMasterBall : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AquaHideout_B1F_EventScript_ItemMasterBall")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setwildbattle SPECIES_ELECTRODE, 30
* waitse
* playmoncry SPECIES_ELECTRODE, CRY_MODE_ENCOUNTER
* delay 40
* waitmoncry
* setflag FLAG_SYS_CTRL_OBJ_DELETE
* dowildbattle
* clearflag FLAG_SYS_CTRL_OBJ_DELETE
* specialvar VAR_RESULT, GetBattleOutcome
* goto_if_eq VAR_RESULT, B_OUTCOME_WON, AquaHideout_B1F_EventScript_DefeatedElectrode1
* goto_if_eq VAR_RESULT, B_OUTCOME_RAN, AquaHideout_B1F_EventScript_DefeatedElectrode1
* goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, AquaHideout_B1F_EventScript_DefeatedElectrode1
* setflag FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT
* release
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_Electrode1 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_Electrode1")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_NUGGET
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_ItemNugget : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_ItemNugget")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setwildbattle SPECIES_ELECTRODE, 30
* waitse
* playmoncry SPECIES_ELECTRODE, CRY_MODE_ENCOUNTER
* delay 40
* waitmoncry
* setflag FLAG_SYS_CTRL_OBJ_DELETE
* dowildbattle
* clearflag FLAG_SYS_CTRL_OBJ_DELETE
* specialvar VAR_RESULT, GetBattleOutcome
* goto_if_eq VAR_RESULT, B_OUTCOME_WON, AquaHideout_B1F_EventScript_DefeatedElectrode2
* goto_if_eq VAR_RESULT, B_OUTCOME_RAN, AquaHideout_B1F_EventScript_DefeatedElectrode2
* goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, AquaHideout_B1F_EventScript_DefeatedElectrode2
* setflag FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT
* release
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_Electrode2 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_Electrode2")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_7, AquaHideout_B1F_Text_Grunt7Intro, AquaHideout_B1F_Text_Grunt7Defeat
* msgbox AquaHideout_B1F_Text_Grunt7PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B1F_EventScript_Grunt7 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B1F_EventScript_Grunt7")
}
internal val AquaHideout_B1FScripts: Map<String, Script> =
mapOf(
"AquaHideout_B1F_EventScript_Grunt2" to AquaHideout_B1F_EventScript_Grunt2,
"AquaHideout_B1F_EventScript_Grunt3" to AquaHideout_B1F_EventScript_Grunt3,
"AquaHideout_B1F_EventScript_ItemMaxElixir" to AquaHideout_B1F_EventScript_ItemMaxElixir,
"AquaHideout_B1F_EventScript_Grunt5" to AquaHideout_B1F_EventScript_Grunt5,
"AquaHideout_B1F_EventScript_ItemMasterBall" to AquaHideout_B1F_EventScript_ItemMasterBall,
"AquaHideout_B1F_EventScript_Electrode1" to AquaHideout_B1F_EventScript_Electrode1,
"AquaHideout_B1F_EventScript_ItemNugget" to AquaHideout_B1F_EventScript_ItemNugget,
"AquaHideout_B1F_EventScript_Electrode2" to AquaHideout_B1F_EventScript_Electrode2,
"AquaHideout_B1F_EventScript_Grunt7" to AquaHideout_B1F_EventScript_Grunt7,
)
@@ -0,0 +1,74 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_MATT, AquaHideout_B2F_Text_MattIntro, AquaHideout_B2F_Text_MattDefeat, AquaHideout_B2F_EventScript_SubmarineEscape
* msgbox AquaHideout_B2F_Text_MattPostBattle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object AquaHideout_B2F_EventScript_Matt : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B2F_EventScript_Matt")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
* msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B2F_EventScript_Grunt4 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B2F_EventScript_Grunt4")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_NEST_BALL
* end
* ```
*/
internal object AquaHideout_B2F_EventScript_ItemNestBall : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port AquaHideout_B2F_EventScript_ItemNestBall")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_6, AquaHideout_B2F_Text_Grunt6Intro, AquaHideout_B2F_Text_Grunt6Defeat
* msgbox AquaHideout_B2F_Text_Grunt6PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B2F_EventScript_Grunt6 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B2F_EventScript_Grunt6")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_8, AquaHideout_B2F_Text_Grunt8Intro, AquaHideout_B2F_Text_Grunt8Defeat
* msgbox AquaHideout_B2F_Text_Grunt8PostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object AquaHideout_B2F_EventScript_Grunt8 : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port AquaHideout_B2F_EventScript_Grunt8")
}
internal val AquaHideout_B2FScripts: Map<String, Script> =
mapOf(
"AquaHideout_B2F_EventScript_Matt" to AquaHideout_B2F_EventScript_Matt,
"AquaHideout_B2F_EventScript_Grunt4" to AquaHideout_B2F_EventScript_Grunt4,
"AquaHideout_B2F_EventScript_ItemNestBall" to AquaHideout_B2F_EventScript_ItemNestBall,
"AquaHideout_B2F_EventScript_Grunt6" to AquaHideout_B2F_EventScript_Grunt6,
"AquaHideout_B2F_EventScript_Grunt8" to AquaHideout_B2F_EventScript_Grunt8,
)
@@ -0,0 +1,20 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_CARBOS
* end
* ```
*/
internal object ArtisanCave_1F_EventScript_ItemCarbos : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port ArtisanCave_1F_EventScript_ItemCarbos")
}
internal val ArtisanCave_1FScripts: Map<String, Script> =
mapOf(
"ArtisanCave_1F_EventScript_ItemCarbos" to ArtisanCave_1F_EventScript_ItemCarbos,
)
@@ -0,0 +1,20 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_HP_UP
* end
* ```
*/
internal object ArtisanCave_B1F_EventScript_ItemHPUp : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port ArtisanCave_B1F_EventScript_ItemHPUp")
}
internal val ArtisanCave_B1FScripts: Map<String, Script> =
mapOf(
"ArtisanCave_B1F_EventScript_ItemHPUp" to ArtisanCave_B1F_EventScript_ItemHPUp,
)
@@ -0,0 +1,24 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* special Script_FacePlayer
* msgbox BattleColosseum_2P_Text_TakePlaceStartBattle, MSGBOX_DEFAULT
* special Script_ClearHeldMovement
* closemessage
* end
* ```
*/
internal object BattleColosseum_2P_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleColosseum_2P_EventScript_Attendant")
}
internal val BattleColosseum_2PScripts: Map<String, Script> =
mapOf(
"BattleColosseum_2P_EventScript_Attendant" to BattleColosseum_2P_EventScript_Attendant,
)
@@ -0,0 +1,97 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattleArenaLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_ARENA
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
* special SavePlayerParty
* msgbox BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena, MSGBOX_DEFAULT
* message BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge
* case 1, BattleFrontier_BattleArenaLobby_EventScript_ExplainChallenge
* case 2, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattleArenaLobby_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleArenaLobby_EventScript_Attendant")
}
internal object BattleFrontier_BattleArenaLobby_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleArenaLobby.OrderOfMonsImportant)
}
internal object BattleFrontier_BattleArenaLobby_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleArenaLobby.LandingHitsWorked)
}
internal object BattleFrontier_BattleArenaLobby_EventScript_Camper : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleArenaLobby.MatchWasDeclaredDraw)
}
internal object BattleFrontier_BattleArenaLobby_EventScript_Youngster : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleArenaLobby.BadIdeaToNotAttack)
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_ARENA
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleArenaLobby_EventScript_ShowResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleArenaLobby_EventScript_ShowResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattleArenaLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattleArenaLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleArenaLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattleArenaLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattleArenaLobby_EventScript_Attendant" to
BattleFrontier_BattleArenaLobby_EventScript_Attendant,
"BattleFrontier_BattleArenaLobby_EventScript_Woman" to
BattleFrontier_BattleArenaLobby_EventScript_Woman,
"BattleFrontier_BattleArenaLobby_EventScript_Man" to
BattleFrontier_BattleArenaLobby_EventScript_Man,
"BattleFrontier_BattleArenaLobby_EventScript_Camper" to
BattleFrontier_BattleArenaLobby_EventScript_Camper,
"BattleFrontier_BattleArenaLobby_EventScript_Youngster" to
BattleFrontier_BattleArenaLobby_EventScript_Youngster,
"BattleFrontier_BattleArenaLobby_EventScript_ShowResults" to
BattleFrontier_BattleArenaLobby_EventScript_ShowResults,
"BattleFrontier_BattleArenaLobby_EventScript_RulesBoard" to
BattleFrontier_BattleArenaLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,154 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattleDomeLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_DOME
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
* goto BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant")
}
internal object BattleFrontier_BattleDomeLobby_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleDomeLobby.NeedToCheckOpponentCarefully)
}
internal object BattleFrontier_BattleDomeLobby_EventScript_Lass : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleDomeLobby.WinnersGainReputation)
}
internal object BattleFrontier_BattleDomeLobby_EventScript_FatMan : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleDomeLobby.TrashedInFirstRound)
}
/**
* Not ported yet. Decomp body:
* ```
* dome_getwinnersname
* msgbox BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough, MSGBOX_NPC
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_Maniac : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_Maniac")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_DOME
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
* goto BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_DOME, FRONTIER_MODE_SINGLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* dome_get DOME_DATA_PREV_TOURNEY_TYPE
* call_if_eq VAR_RESULT, 0, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50
* call_if_eq VAR_RESULT, 1, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50
* call_if_eq VAR_RESULT, 2, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen
* call_if_eq VAR_RESULT, 3, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen
* fadescreen FADE_TO_BLACK
* dome_showprevtourneytree
* waitstate
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_DOME, FRONTIER_MODE_DOUBLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattleDomeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattleDomeLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleDomeLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattleDomeLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant" to
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant,
"BattleFrontier_BattleDomeLobby_EventScript_Man" to
BattleFrontier_BattleDomeLobby_EventScript_Man,
"BattleFrontier_BattleDomeLobby_EventScript_Lass" to
BattleFrontier_BattleDomeLobby_EventScript_Lass,
"BattleFrontier_BattleDomeLobby_EventScript_FatMan" to
BattleFrontier_BattleDomeLobby_EventScript_FatMan,
"BattleFrontier_BattleDomeLobby_EventScript_Maniac" to
BattleFrontier_BattleDomeLobby_EventScript_Maniac,
"BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant" to
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant,
"BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults" to
BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults,
"BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree" to
BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree,
"BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults" to
BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults,
"BattleFrontier_BattleDomeLobby_EventScript_RulesBoard" to
BattleFrontier_BattleDomeLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,123 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattleFactoryLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
* goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
* end
* ```
*/
internal object BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant")
}
internal object BattleFrontier_BattleFactoryLobby_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleFactoryLobby.NeedKnowledgeOfMonsMoves)
}
internal object BattleFrontier_BattleFactoryLobby_EventScript_Camper : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleFactoryLobby.SwappedForWeakMon)
}
internal object BattleFrontier_BattleFactoryLobby_EventScript_Picnicker : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleFactoryLobby.NeedToCheckOpponentsMons)
}
internal object BattleFrontier_BattleFactoryLobby_EventScript_FatMan : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleFactoryLobby.CantFigureOutStaffHints)
}
/**
* Not ported yet. Decomp body:
* ```
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
* goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
* end
* ```
*/
internal object BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_SINGLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_DOUBLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattleFactoryLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattleFactoryLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant" to
BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant,
"BattleFrontier_BattleFactoryLobby_EventScript_Woman" to
BattleFrontier_BattleFactoryLobby_EventScript_Woman,
"BattleFrontier_BattleFactoryLobby_EventScript_Camper" to
BattleFrontier_BattleFactoryLobby_EventScript_Camper,
"BattleFrontier_BattleFactoryLobby_EventScript_Picnicker" to
BattleFrontier_BattleFactoryLobby_EventScript_Picnicker,
"BattleFrontier_BattleFactoryLobby_EventScript_FatMan" to
BattleFrontier_BattleFactoryLobby_EventScript_FatMan,
"BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant" to
BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant,
"BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults" to
BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults,
"BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults" to
BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults,
"BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard" to
BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,125 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattlePalaceLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
* goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
* end
* ```
*/
internal object BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant")
}
internal object BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePalaceLobby.LadyCanTellWhatMonsThink)
}
internal object BattleFrontier_BattlePalaceLobby_EventScript_Maniac : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePalaceLobby.WhatNatureFavorsChippingAway)
}
internal object BattleFrontier_BattlePalaceLobby_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePalaceLobby.NatureAndMovesKeyHere)
}
internal object BattleFrontier_BattlePalaceLobby_EventScript_Beauty : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePalaceLobby.MonDocileButTransforms)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
* goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
* end
* ```
*/
internal object BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattlePalaceLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattlePalaceLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant" to
BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant,
"BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt" to
BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt,
"BattleFrontier_BattlePalaceLobby_EventScript_Maniac" to
BattleFrontier_BattlePalaceLobby_EventScript_Maniac,
"BattleFrontier_BattlePalaceLobby_EventScript_Man" to
BattleFrontier_BattlePalaceLobby_EventScript_Man,
"BattleFrontier_BattlePalaceLobby_EventScript_Beauty" to
BattleFrontier_BattlePalaceLobby_EventScript_Beauty,
"BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant" to
BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant,
"BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults" to
BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults,
"BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults" to
BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults,
"BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard" to
BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,90 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattlePikeLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PIKE
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
* special SavePlayerParty
* msgbox BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike, MSGBOX_DEFAULT
* message BattleFrontier_BattlePikeLobby_Text_TakeChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge
* case 1, BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge
* case 2, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattlePikeLobby_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeLobby_EventScript_Attendant")
}
internal object BattleFrontier_BattlePikeLobby_EventScript_Hiker : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePikeLobby.OneRoomAwayFromGoal)
}
internal object BattleFrontier_BattlePikeLobby_EventScript_Twin : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePikeLobby.NeverHadToBattleTrainer)
}
internal object BattleFrontier_BattlePikeLobby_EventScript_Beauty : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePikeLobby.ThinkAbilitiesUsefulHere)
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_PIKE
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattlePikeLobby_EventScript_ShowResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeLobby_EventScript_ShowResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattlePikeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattlePikeLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattlePikeLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattlePikeLobby_EventScript_Attendant" to
BattleFrontier_BattlePikeLobby_EventScript_Attendant,
"BattleFrontier_BattlePikeLobby_EventScript_Hiker" to
BattleFrontier_BattlePikeLobby_EventScript_Hiker,
"BattleFrontier_BattlePikeLobby_EventScript_Twin" to
BattleFrontier_BattlePikeLobby_EventScript_Twin,
"BattleFrontier_BattlePikeLobby_EventScript_Beauty" to
BattleFrontier_BattlePikeLobby_EventScript_Beauty,
"BattleFrontier_BattlePikeLobby_EventScript_ShowResults" to
BattleFrontier_BattlePikeLobby_EventScript_ShowResults,
"BattleFrontier_BattlePikeLobby_EventScript_RulesBoard" to
BattleFrontier_BattlePikeLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,53 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* pike_getroomtype
* switch VAR_RESULT
* case PIKE_ROOM_NPC, BattleFrontier_BattlePikeRoomNormal_EventScript_NormalNPC
* case PIKE_ROOM_STATUS, BattleFrontier_BattlePikeRoomNormal_EventScript_StatusNPC
* case PIKE_ROOM_HEAL_PART, BattleFrontier_BattlePikeRoomNormal_EventScript_HealNPC
* lock
* faceplayer
* pike_getnpcmsg
* msgbox gStringVar4, MSGBOX_DEFAULT
* waitmessage
* closemessage
* release
* end
* ```
*/
internal object BattleFrontier_BattlePikeRoomNormal_EventScript_NPC : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeRoomNormal_EventScript_NPC")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_BattlePikeRoomNormal_Text_Silence, MSGBOX_DEFAULT
* closemessage
* release
* applymovement LOCALID_PIKE_ROOM_NPC_2, BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceRight
* waitmovement 0
* end
* ```
*/
internal object BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon")
}
internal val BattleFrontier_BattlePikeRoomNormalScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattlePikeRoomNormal_EventScript_NPC" to
BattleFrontier_BattlePikeRoomNormal_EventScript_NPC,
"BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon" to
BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon,
)
@@ -0,0 +1,53 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* frontier_get FRONTIER_DATA_BATTLE_NUM @ Room number
* switch VAR_RESULT
* case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1
* case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3
* case 5, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5
* case 7, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7
* case 9, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9
* case 11, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11
* case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13
* end
* ```
*/
internal object BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant")
}
/**
* Not ported yet. Decomp body:
* ```
* pike_gethint
* goto_if_eq VAR_RESULT, PIKE_HINT_BRAIN, BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint
* lock
* faceplayer
* msgbox BattleFrontier_BattlePikeThreePathRoom_Text_FindingItDifficultToChoose, MSGBOX_YESNO
* switch VAR_RESULT
* case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_AcceptHint
* case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_DeclineHint
* case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_DeclineHint
* release
* end
* ```
*/
internal object BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver")
}
internal val BattleFrontier_BattlePikeThreePathRoomScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant" to
BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant,
"BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver" to
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver,
)
@@ -0,0 +1,103 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattlePyramidLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PYRAMID
* setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
* special SavePlayerParty
* msgbox BattleFrontier_BattlePyramidLobby_Text_WelcomeToBattlePyramid, MSGBOX_DEFAULT
* message BattleFrontier_BattlePyramidLobby_Text_EmbarkOnChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattlePyramidLobby_EventScript_TryEnterChallenge
* case 1, BattleFrontier_BattlePyramidLobby_EventScript_ExplainChallenge
* case 2, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattlePyramidLobby_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePyramidLobby_EventScript_Attendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* applymovement LOCALID_PYRAMID_LOBBY_HINT_GIVER, Common_Movement_FacePlayer
* waitmovement 0
* msgbox BattleFrontier_BattlePyramidLobby_Text_TellYouWhatMisfortunesAwait, MSGBOX_DEFAULT
* call BattleFrontier_BattlePyramidLobby_EventScript_GiveHint
* msgbox BattleFrontier_BattlePyramidLobby_Text_BelieveMyFortunesOrNot, MSGBOX_DEFAULT
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattlePyramidLobby_EventScript_HintGiver : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePyramidLobby_EventScript_HintGiver")
}
internal object BattleFrontier_BattlePyramidLobby_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePyramidLobby.TrainersNoticeRunning)
}
internal object BattleFrontier_BattlePyramidLobby_EventScript_FatMan : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattlePyramidLobby.LostLotOfItems)
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_PYRAMID
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattlePyramidLobby_EventScript_ShowResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePyramidLobby_EventScript_ShowResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattlePyramidLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattlePyramidLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattlePyramidLobby_EventScript_Attendant" to
BattleFrontier_BattlePyramidLobby_EventScript_Attendant,
"BattleFrontier_BattlePyramidLobby_EventScript_HintGiver" to
BattleFrontier_BattlePyramidLobby_EventScript_HintGiver,
"BattleFrontier_BattlePyramidLobby_EventScript_Woman" to
BattleFrontier_BattlePyramidLobby_EventScript_Woman,
"BattleFrontier_BattlePyramidLobby_EventScript_FatMan" to
BattleFrontier_BattlePyramidLobby_EventScript_FatMan,
"BattleFrontier_BattlePyramidLobby_EventScript_ShowResults" to
BattleFrontier_BattlePyramidLobby_EventScript_ShowResults,
"BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard" to
BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,41 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_ne VAR_TEMP_D, 0, BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady
* goto_if_ne VAR_TEMP_C, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside
* msgbox BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo, MSGBOX_DEFAULT
* closemessage
* applymovement LOCALID_PYRAMID_TOP_ATTENDANT, BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside
* waitmovement 0
* applymovement LOCALID_PLAYER, BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop
* waitmovement 0
* applymovement LOCALID_PYRAMID_TOP_ATTENDANT, BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath
* waitmovement 0
* message BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid
* waitmessage
* playfanfare MUS_OBTAIN_B_POINTS
* waitfanfare
* closemessage
* frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
* warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 7, 13
* waitstate
* end
* ```
*/
internal object BattleFrontier_BattlePyramidTop_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattlePyramidTop_EventScript_Attendant")
}
internal val BattleFrontier_BattlePyramidTopScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattlePyramidTop_EventScript_Attendant" to
BattleFrontier_BattlePyramidTop_EventScript_Attendant,
)
@@ -0,0 +1,279 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_BattleTowerLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_TOWER
* special SavePlayerParty
* msgbox BattleFrontier_BattleTowerLobby_Text_WelcomSingleBattle, MSGBOX_DEFAULT
* message BattleFrontier_BattleTowerLobby_Text_TakeSinglesChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattleTowerLobby_EventScript_TryEnterSinglesChallenge
* case 1, BattleFrontier_BattleTowerLobby_EventScript_ExplainSinglesChallenge
* case 2, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_SinglesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_SinglesAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message BattleFrontier_BattleTowerLobby_Text_DescribeFeelingsAboutBattleTower
* waitmessage
* multichoice 16, 4, MULTI_BATTLE_TOWER_FEELINGS, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattleTowerLobby_EventScript_FeelingsBattleNow
* case 1, BattleFrontier_BattleTowerLobby_EventScript_FeelingsIWon
* case 2, BattleFrontier_BattleTowerLobby_EventScript_FeelingsILost
* case 3, BattleFrontier_BattleTowerLobby_EventScript_FeelingsWontTell
* case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_FeelingsWontTell
* release
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_FeelingsMan : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_FeelingsMan")
}
internal object BattleFrontier_BattleTowerLobby_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleTowerLobby.WinsInRowRecorded)
}
internal object BattleFrontier_BattleTowerLobby_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_BattleTowerLobby.CanLeaveUntilLossOrSevenWins)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed
* setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE
* special InterviewBefore
* goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed
* copyvar VAR_0x8009, VAR_0x8006
* msgbox BattleFrontier_BattleTowerLobby_Text_InterviewRequest, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, YES, BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview
* goto_if_eq VAR_RESULT, NO, BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_Reporter : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_Reporter")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* apprentice_gavelvlmode
* goto_if_eq VAR_RESULT, FALSE, Apprentice_EventScript_FirstMeeting
* apprentice_shouldcheckgone
* goto_if_eq VAR_0x8004, FALSE, Apprentice_EventScript_AskQuestion @ VAR_0x8004 always TRUE here
* goto_if_set FLAG_DAILY_APPRENTICE_LEAVES, Apprentice_EventScript_Gone
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_Apprentice : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_Apprentice")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_TOWER
* special SavePlayerParty
* msgbox BattleFrontier_BattleTowerLobby_Text_WelcomeDoubleBattle, MSGBOX_DEFAULT
* message BattleFrontier_BattleTowerLobby_Text_TakeDoublesChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattleTowerLobby_EventScript_TryEnterDoublesChallenge
* case 1, BattleFrontier_BattleTowerLobby_EventScript_ExplainDoublesChallenge
* case 2, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_DoublesAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_DoublesAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_TOWER
* clearflag FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER
* special SavePlayerParty
* msgbox BattleFrontier_BattleTowerLobby_Text_WelcomeMultiBattle, MSGBOX_DEFAULT
* message BattleFrontier_BattleTowerLobby_Text_TakeMultisChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattleTowerLobby_EventScript_TryEnterMultisChallenge
* case 1, BattleFrontier_BattleTowerLobby_EventScript_ExplainMultisChallenge
* case 2, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_MultisAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_MultisAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_TOWER
* special SavePlayerParty
* msgbox BattleFrontier_BattleTowerLobby_Text_WelcomeLinkMultiBattle, MSGBOX_DEFAULT
* message BattleFrontier_BattleTowerLobby_Text_TakeLinkMultisChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, BattleFrontier_BattleTowerLobby_EventScript_TryEnterLinkMultisChallenge
* case 1, BattleFrontier_BattleTowerLobby_EventScript_ExplainLinkMultisChallenge
* case 2, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_CancelChallenge
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_LinkMultisAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_LinkMultisAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_TOWER, FRONTIER_MODE_SINGLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_ShowSinglesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_ShowSinglesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_TOWER, FRONTIER_MODE_DOUBLES
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_ShowDoublesResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_ShowDoublesResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_TOWER, FRONTIER_MODE_MULTIS
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_ShowMultisResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_ShowMultisResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* frontier_results FRONTIER_FACILITY_TOWER, FRONTIER_MODE_LINK_MULTIS
* waitbuttonpress
* special RemoveRecordsWindow
* releaseall
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_ShowLinkMultisResults : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_ShowLinkMultisResults")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattleTowerLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto BattleFrontier_BattleTowerLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object BattleFrontier_BattleTowerLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerLobby_EventScript_RulesBoard")
}
internal val BattleFrontier_BattleTowerLobbyScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattleTowerLobby_EventScript_SinglesAttendant" to
BattleFrontier_BattleTowerLobby_EventScript_SinglesAttendant,
"BattleFrontier_BattleTowerLobby_EventScript_FeelingsMan" to
BattleFrontier_BattleTowerLobby_EventScript_FeelingsMan,
"BattleFrontier_BattleTowerLobby_EventScript_Woman" to
BattleFrontier_BattleTowerLobby_EventScript_Woman,
"BattleFrontier_BattleTowerLobby_EventScript_Boy" to
BattleFrontier_BattleTowerLobby_EventScript_Boy,
"BattleFrontier_BattleTowerLobby_EventScript_Reporter" to
BattleFrontier_BattleTowerLobby_EventScript_Reporter,
"BattleFrontier_BattleTowerLobby_EventScript_Apprentice" to
BattleFrontier_BattleTowerLobby_EventScript_Apprentice,
"BattleFrontier_BattleTowerLobby_EventScript_DoublesAttendant" to
BattleFrontier_BattleTowerLobby_EventScript_DoublesAttendant,
"BattleFrontier_BattleTowerLobby_EventScript_MultisAttendant" to
BattleFrontier_BattleTowerLobby_EventScript_MultisAttendant,
"BattleFrontier_BattleTowerLobby_EventScript_LinkMultisAttendant" to
BattleFrontier_BattleTowerLobby_EventScript_LinkMultisAttendant,
"BattleFrontier_BattleTowerLobby_EventScript_ShowSinglesResults" to
BattleFrontier_BattleTowerLobby_EventScript_ShowSinglesResults,
"BattleFrontier_BattleTowerLobby_EventScript_ShowDoublesResults" to
BattleFrontier_BattleTowerLobby_EventScript_ShowDoublesResults,
"BattleFrontier_BattleTowerLobby_EventScript_ShowMultisResults" to
BattleFrontier_BattleTowerLobby_EventScript_ShowMultisResults,
"BattleFrontier_BattleTowerLobby_EventScript_ShowLinkMultisResults" to
BattleFrontier_BattleTowerLobby_EventScript_ShowLinkMultisResults,
"BattleFrontier_BattleTowerLobby_EventScript_RulesBoard" to
BattleFrontier_BattleTowerLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,165 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message BattleFrontier_BattleTowerMultiPartnerRoom_Text_QuitLookingForPartner
* waitmessage
* multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
* goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_QuitChallenge
* msgbox BattleFrontier_BattleTowerMultiPartnerRoom_Text_PleaseFindPartner2, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Attendant")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 0
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner1 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner1")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 1
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner2 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner2")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 2
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner3 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner3")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 3
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner4 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner4")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 4
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner5 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner5")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 5
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner6 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner6")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 6
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner7 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner7")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, 7
* goto BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_TalkToPotentialPartner
* end
* ```
*/
internal object BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner8 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner8")
}
internal val BattleFrontier_BattleTowerMultiPartnerRoomScripts: Map<String, Script> =
mapOf(
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Attendant" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Attendant,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner1" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner1,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner2" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner2,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner3" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner3,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner4" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner4,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner5" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner5,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner6" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner6,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner7" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner7,
"BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner8" to
BattleFrontier_BattleTowerMultiPartnerRoom_EventScript_Partner8,
)
@@ -0,0 +1,116 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_ExchangeServiceCorner
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
* call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
* goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
* end
* ```
*/
internal object BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1")
}
internal object BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_ExchangeServiceCorner.WishIHadAllDolls)
}
internal object BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_ExchangeServiceCorner.GetYouAnythingYouWant)
}
internal object BattleFrontier_ExchangeServiceCorner_EventScript_Sailor : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_ExchangeServiceCorner.ItemsWillGetMonTougher)
}
internal object BattleFrontier_ExchangeServiceCorner_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_ExchangeServiceCorner.GoGetYourOwnDoll)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
* call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
* goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
* end
* ```
*/
internal object BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
* call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
* goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
* end
* ```
*/
internal object BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_2, EXCHANGE_CORNER_HOLD_ITEM_CLERK
* call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
* goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
* end
* ```
*/
internal object BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk")
}
internal object BattleFrontier_ExchangeServiceCorner_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_ExchangeServiceCorner.MoreBattlePointsForRecord)
}
internal val BattleFrontier_ExchangeServiceCornerScripts: Map<String, Script> =
mapOf(
"BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1" to
BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1,
"BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy" to
BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy,
"BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF" to
BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF,
"BattleFrontier_ExchangeServiceCorner_EventScript_Sailor" to
BattleFrontier_ExchangeServiceCorner_EventScript_Sailor,
"BattleFrontier_ExchangeServiceCorner_EventScript_Man" to
BattleFrontier_ExchangeServiceCorner_EventScript_Man,
"BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2" to
BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2,
"BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk" to
BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk,
"BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk" to
BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk,
"BattleFrontier_ExchangeServiceCorner_EventScript_Girl" to
BattleFrontier_ExchangeServiceCorner_EventScript_Girl,
)
@@ -0,0 +1,39 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge1
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call_if_unset FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_BreederIntro
* call_if_set FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder
* setflag FLAG_MET_BATTLE_FRONTIER_BREEDER
* goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
* end
* ```
*/
internal object BattleFrontier_Lounge1_EventScript_Breeder : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge1_EventScript_Breeder")
}
internal object BattleFrontier_Lounge1_EventScript_Boy1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge1.SaidMyMonIsOutstanding)
}
internal object BattleFrontier_Lounge1_EventScript_Boy2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge1.DidntDoAnythingSpecialRaisingIt)
}
internal val BattleFrontier_Lounge1Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge1_EventScript_Breeder" to BattleFrontier_Lounge1_EventScript_Breeder,
"BattleFrontier_Lounge1_EventScript_Boy1" to BattleFrontier_Lounge1_EventScript_Boy1,
"BattleFrontier_Lounge1_EventScript_Boy2" to BattleFrontier_Lounge1_EventScript_Boy2,
)
@@ -0,0 +1,52 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge2
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_MET_BATTLE_FRONTIER_MANIAC, BattleFrontier_Lounge2_EventScript_AlreadyMetManiac
* setflag FLAG_MET_BATTLE_FRONTIER_MANIAC
* msgbox BattleFrontier_Lounge2_Text_FrontierManiacIntro, MSGBOX_DEFAULT
* goto BattleFrontier_Lounge2_EventScript_GiveAdvice
* end
* ```
*/
internal object BattleFrontier_Lounge2_EventScript_FrontierManiac : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge2_EventScript_FrontierManiac")
}
internal object BattleFrontier_Lounge2_EventScript_Maniac1 : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(BattleFrontier_Lounge2.NewsGatheringPower)
}
internal object BattleFrontier_Lounge2_EventScript_Maniac2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge2.AmazingPowersOfObservation)
}
internal object BattleFrontier_Lounge2_EventScript_TriathleteF : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge2.ThisPlaceIsScaringMe)
}
internal object BattleFrontier_Lounge2_EventScript_Maniac3 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge2.AmazingPowerOfPersuasion)
}
internal val BattleFrontier_Lounge2Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge2_EventScript_FrontierManiac" to
BattleFrontier_Lounge2_EventScript_FrontierManiac,
"BattleFrontier_Lounge2_EventScript_Maniac1" to BattleFrontier_Lounge2_EventScript_Maniac1,
"BattleFrontier_Lounge2_EventScript_Maniac2" to BattleFrontier_Lounge2_EventScript_Maniac2,
"BattleFrontier_Lounge2_EventScript_TriathleteF" to
BattleFrontier_Lounge2_EventScript_TriathleteF,
"BattleFrontier_Lounge2_EventScript_Maniac3" to BattleFrontier_Lounge2_EventScript_Maniac3,
)
@@ -0,0 +1,84 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge3
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_MET_BATTLE_FRONTIER_GAMBLER, BattleFrontier_Lounge3_EventScript_AlreadyMetGambler
* call BattleFrontier_Lounge3_EventScript_CountSilverSymbols
* goto_if_le VAR_0x8004, 2, BattleFrontier_Lounge3_EventScript_NotEnoughSilverSymbols
* setflag FLAG_MET_BATTLE_FRONTIER_GAMBLER
* msgbox BattleFrontier_Lounge3_Text_YouLookToughExplainGambling, MSGBOX_DEFAULT
* goto BattleFrontier_Lounge3_EventScript_AskToEnterChallenge
* end
* ```
*/
internal object BattleFrontier_Lounge3_EventScript_Gambler : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge3_EventScript_Gambler")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_Lounge3_Text_TrainerGoodButRattled, MSGBOX_DEFAULT
* goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
* end
* ```
*/
internal object BattleFrontier_Lounge3_EventScript_FatMan : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge3_EventScript_FatMan")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_Lounge3_Text_BackedWrongTrainer, MSGBOX_DEFAULT
* goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
* end
* ```
*/
internal object BattleFrontier_Lounge3_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge3_EventScript_Woman")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_Lounge3_Text_KnowWinnerWhenISeeOne, MSGBOX_DEFAULT
* goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
* end
* ```
*/
internal object BattleFrontier_Lounge3_EventScript_PokefanF : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge3_EventScript_PokefanF")
}
internal object BattleFrontier_Lounge3_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge3.ShouldBeTakingChallenges)
}
internal val BattleFrontier_Lounge3Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge3_EventScript_Gambler" to BattleFrontier_Lounge3_EventScript_Gambler,
"BattleFrontier_Lounge3_EventScript_FatMan" to BattleFrontier_Lounge3_EventScript_FatMan,
"BattleFrontier_Lounge3_EventScript_Woman" to BattleFrontier_Lounge3_EventScript_Woman,
"BattleFrontier_Lounge3_EventScript_PokefanF" to
BattleFrontier_Lounge3_EventScript_PokefanF,
"BattleFrontier_Lounge3_EventScript_Man" to BattleFrontier_Lounge3_EventScript_Man,
)
@@ -0,0 +1,27 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge4
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object BattleFrontier_Lounge4_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge4.WonderIfInterviewsAiring)
}
internal object BattleFrontier_Lounge4_EventScript_Cook : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge4.IfIOpenedRestaurantHere)
}
internal object BattleFrontier_Lounge4_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge4.NeedBreatherAfterBattles)
}
internal val BattleFrontier_Lounge4Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge4_EventScript_Woman" to BattleFrontier_Lounge4_EventScript_Woman,
"BattleFrontier_Lounge4_EventScript_Cook" to BattleFrontier_Lounge4_EventScript_Cook,
"BattleFrontier_Lounge4_EventScript_Man" to BattleFrontier_Lounge4_EventScript_Man,
)
@@ -0,0 +1,57 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge5
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_Lounge5_Text_NatureGirlGreeting, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
* special ChoosePartyMon
* lock
* faceplayer
* goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
* specialvar VAR_RESULT, ScriptGetPartyMonSpecies
* goto_if_eq VAR_RESULT, SPECIES_EGG, BattleFrontier_Lounge5_EventScript_NatureGirlEgg
* special ShowNatureGirlMessage
* waitmessage
* waitbuttonpress
* release
* end
* ```
*/
internal object BattleFrontier_Lounge5_EventScript_NatureGirl : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge5_EventScript_NatureGirl")
}
internal object BattleFrontier_Lounge5_EventScript_Gentleman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge5.LadyClaimsSheUnderstandsPokemon)
}
internal object BattleFrontier_Lounge5_EventScript_BlackBelt : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge5.GirlSayingSomethingProfound)
}
internal object BattleFrontier_Lounge5_EventScript_LittleBoy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge5.GirlPlaysAtRedHouseALot)
}
internal val BattleFrontier_Lounge5Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge5_EventScript_NatureGirl" to
BattleFrontier_Lounge5_EventScript_NatureGirl,
"BattleFrontier_Lounge5_EventScript_Gentleman" to
BattleFrontier_Lounge5_EventScript_Gentleman,
"BattleFrontier_Lounge5_EventScript_BlackBelt" to
BattleFrontier_Lounge5_EventScript_BlackBelt,
"BattleFrontier_Lounge5_EventScript_LittleBoy" to
BattleFrontier_Lounge5_EventScript_LittleBoy,
)
@@ -0,0 +1,43 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_TradeCompleted
* setvar VAR_0x8008, INGAME_TRADE_MEOWTH
* copyvar VAR_0x8004, VAR_0x8008
* specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
* copyvar VAR_0x8009, VAR_RESULT
* msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge6_EventScript_DeclineTrade
* special ChoosePartyMon
* copyvar VAR_0x800A, VAR_0x8004
* goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge6_EventScript_DeclineTrade
* copyvar VAR_0x8005, VAR_0x800A
* specialvar VAR_RESULT, GetTradeSpecies
* copyvar VAR_0x800B, VAR_RESULT
* goto_if_ne VAR_RESULT, VAR_0x8009, BattleFrontier_Lounge6_EventScript_NotRequestedMon
* copyvar VAR_0x8004, VAR_0x8008
* copyvar VAR_0x8005, VAR_0x800A
* special CreateInGameTradePokemon
* special DoInGameTradeScene
* msgbox BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt, MSGBOX_DEFAULT
* setflag FLAG_BATTLE_FRONTIER_TRADE_DONE
* release
* end
* ```
*/
internal object BattleFrontier_Lounge6_EventScript_Trader : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge6_EventScript_Trader")
}
internal val BattleFrontier_Lounge6Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge6_EventScript_Trader" to BattleFrontier_Lounge6_EventScript_Trader,
)
@@ -0,0 +1,62 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge7
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object BattleFrontier_Lounge7_EventScript_Sailor : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge7.ThinkLadiesDontGetAlong)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_1
* goto_if_set FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor
* msgbox BattleFrontier_Lounge7_Text_LeftTutorIntro, MSGBOX_DEFAULT
* setflag FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR
* goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
* end
* ```
*/
internal object BattleFrontier_Lounge7_EventScript_LeftMoveTutor : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge7_EventScript_LeftMoveTutor")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_2
* goto_if_set FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor
* msgbox BattleFrontier_Lounge7_Text_RightTutorIntro, MSGBOX_DEFAULT
* setflag FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR
* goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
* end
* ```
*/
internal object BattleFrontier_Lounge7_EventScript_RightMoveTutor : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Lounge7_EventScript_RightMoveTutor")
}
internal object BattleFrontier_Lounge7_EventScript_Gentleman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge7.LadiesWereStrongAndBeautiful)
}
internal val BattleFrontier_Lounge7Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge7_EventScript_Sailor" to BattleFrontier_Lounge7_EventScript_Sailor,
"BattleFrontier_Lounge7_EventScript_LeftMoveTutor" to
BattleFrontier_Lounge7_EventScript_LeftMoveTutor,
"BattleFrontier_Lounge7_EventScript_RightMoveTutor" to
BattleFrontier_Lounge7_EventScript_RightMoveTutor,
"BattleFrontier_Lounge7_EventScript_Gentleman" to
BattleFrontier_Lounge7_EventScript_Gentleman,
)
@@ -0,0 +1,27 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Lounge8
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object BattleFrontier_Lounge8_EventScript_NinjaBoy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge8.ToldMeIHaveTalentForBattling)
}
internal object BattleFrontier_Lounge8_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(BattleFrontier_Lounge8.WhatATrainerNeeds)
}
internal object BattleFrontier_Lounge8_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Lounge8.KnowAboutFrontierBrains)
}
internal val BattleFrontier_Lounge8Scripts: Map<String, Script> =
mapOf(
"BattleFrontier_Lounge8_EventScript_NinjaBoy" to
BattleFrontier_Lounge8_EventScript_NinjaBoy,
"BattleFrontier_Lounge8_EventScript_Man" to BattleFrontier_Lounge8_EventScript_Man,
"BattleFrontier_Lounge8_EventScript_Woman" to BattleFrontier_Lounge8_EventScript_Woman,
)
@@ -0,0 +1,55 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_Mart
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message gText_HowMayIServeYou
* waitmessage
* pokemart BattleFrontier_Mart_Pokemart
* msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_Mart_EventScript_Clerk : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port BattleFrontier_Mart_EventScript_Clerk")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* applymovement LOCALID_FRONTIER_MART_OLD_WOMAN, Common_Movement_FaceDown
* waitmovement 0
* msgbox BattleFrontier_Mart_Text_ProteinMakeNiceGift, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_Mart_EventScript_OldWoman : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_Mart_EventScript_OldWoman")
}
internal object BattleFrontier_Mart_EventScript_OldMan : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(BattleFrontier_Mart.ChaperonGrandson)
}
internal object BattleFrontier_Mart_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_Mart.FacilitiesDontAllowItems)
}
internal val BattleFrontier_MartScripts: Map<String, Script> =
mapOf(
"BattleFrontier_Mart_EventScript_Clerk" to BattleFrontier_Mart_EventScript_Clerk,
"BattleFrontier_Mart_EventScript_OldWoman" to BattleFrontier_Mart_EventScript_OldWoman,
"BattleFrontier_Mart_EventScript_OldMan" to BattleFrontier_Mart_EventScript_OldMan,
"BattleFrontier_Mart_EventScript_Boy" to BattleFrontier_Mart_EventScript_Boy,
)
@@ -0,0 +1,280 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_OutsideEast
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object BattleFrontier_OutsideEast_EventScript_NinjaBoy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.BattleTowerFeelsSpecial)
}
internal object BattleFrontier_OutsideEast_EventScript_Man1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.ConquerLeagueAndFrontier)
}
internal object BattleFrontier_OutsideEast_EventScript_Hiker : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(BattleFrontier_OutsideEast.PyramidTooHarsh)
}
internal object BattleFrontier_OutsideEast_EventScript_HexManiac : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.ThriveInDarkness)
}
internal object BattleFrontier_OutsideEast_EventScript_BlackBelt1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.PutTogetherUltimateTeam)
}
internal object BattleFrontier_OutsideEast_EventScript_Cook : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.BelieveInYouBuddy)
}
internal object BattleFrontier_OutsideEast_EventScript_ExpertF : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.OnceBeatGymLeader)
}
internal object BattleFrontier_OutsideEast_EventScript_TriathleteM : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.DidScottBringYouHere)
}
internal object BattleFrontier_OutsideEast_EventScript_RichBoy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.PeopleCallMeBusybody)
}
internal object BattleFrontier_OutsideEast_EventScript_TriathleteF : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.FastOnBikeAndBattles)
}
internal object BattleFrontier_OutsideEast_EventScript_Twin : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.BetterThanDaddyAtPokemon)
}
internal object BattleFrontier_OutsideEast_EventScript_Man2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.GoRackUpSomeWinsForDaddy)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_ZIGZAGOON, CRY_MODE_NORMAL
* msgbox BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant, MSGBOX_DEFAULT
* waitmoncry
* release
* end
* ```
*/
internal object BattleFrontier_OutsideEast_EventScript_Zigzagoon : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideEast_EventScript_Zigzagoon")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playse SE_SUDOWOODO_SHAKE
* applymovement LOCALID_FRONTIER_SUDOWOODO, BattleFrontier_OutsideEast_Movement_SudowoodoShake
* waitmovement 0
* release
* end
* ```
*/
internal object BattleFrontier_OutsideEast_EventScript_Sudowoodo : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideEast_EventScript_Sudowoodo")
}
internal object BattleFrontier_OutsideEast_EventScript_Maniac1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.HeardPrettyGirlAtBattleArena)
}
internal object BattleFrontier_OutsideEast_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.SometimesImportantOldManInThere)
}
internal object BattleFrontier_OutsideEast_EventScript_PsychicM : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.LegendOfBattlePyramid)
}
internal object BattleFrontier_OutsideEast_EventScript_Man3 : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(BattleFrontier_OutsideEast.GotWipedOut)
}
internal object BattleFrontier_OutsideEast_EventScript_Woman1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.ToughTrainerInBattleTower)
}
internal object BattleFrontier_OutsideEast_EventScript_Woman2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.EnoughBattlePointsForDoll)
}
internal object BattleFrontier_OutsideEast_EventScript_BlackBelt2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.LikeToHaveNameRecordedHere)
}
internal object BattleFrontier_OutsideEast_EventScript_Maniac2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.CanDoAnythingWithYou)
}
internal object BattleFrontier_OutsideEast_EventScript_Woman3 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.PowerOfOurLoveWillOvercome)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone
* msgbox BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_OutsideEast_EventScript_OldWoman : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideEast_EventScript_OldWoman")
}
internal object BattleFrontier_OutsideEast_EventScript_Gentleman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.FrontierNotExclusivelyForToughTrainers)
}
internal object BattleFrontier_OutsideEast_EventScript_Camper : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideEast.StickyMonWithLongTail)
}
internal object BattleFrontier_OutsideEast_EventScript_BattleTowerSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideEast.BattleTowerSign)
}
internal object BattleFrontier_OutsideEast_EventScript_BattlePalaceSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideEast.BattlePalaceSign)
}
internal object BattleFrontier_OutsideEast_EventScript_BattleArenaSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideEast.BattleArenaSign)
}
internal object BattleFrontier_OutsideEast_EventScript_BattlePyramidSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideEast.BattlePyramidSign)
}
internal object BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideEast.ExchangeCornerSign)
}
internal object BattleFrontier_OutsideEast_EventScript_RankingHallSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideEast.RankingHallSign)
}
/**
* Not ported yet. Decomp body:
* ```
* script body not found
* ```
*/
internal object Common_EventScript_ShowPokemonCenterSign : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port Common_EventScript_ShowPokemonCenterSign")
}
internal val BattleFrontier_OutsideEastScripts: Map<String, Script> =
mapOf(
"BattleFrontier_OutsideEast_EventScript_NinjaBoy" to
BattleFrontier_OutsideEast_EventScript_NinjaBoy,
"BattleFrontier_OutsideEast_EventScript_Man1" to
BattleFrontier_OutsideEast_EventScript_Man1,
"BattleFrontier_OutsideEast_EventScript_Hiker" to
BattleFrontier_OutsideEast_EventScript_Hiker,
"BattleFrontier_OutsideEast_EventScript_HexManiac" to
BattleFrontier_OutsideEast_EventScript_HexManiac,
"BattleFrontier_OutsideEast_EventScript_BlackBelt1" to
BattleFrontier_OutsideEast_EventScript_BlackBelt1,
"BattleFrontier_OutsideEast_EventScript_Cook" to
BattleFrontier_OutsideEast_EventScript_Cook,
"BattleFrontier_OutsideEast_EventScript_ExpertF" to
BattleFrontier_OutsideEast_EventScript_ExpertF,
"BattleFrontier_OutsideEast_EventScript_TriathleteM" to
BattleFrontier_OutsideEast_EventScript_TriathleteM,
"BattleFrontier_OutsideEast_EventScript_RichBoy" to
BattleFrontier_OutsideEast_EventScript_RichBoy,
"BattleFrontier_OutsideEast_EventScript_TriathleteF" to
BattleFrontier_OutsideEast_EventScript_TriathleteF,
"BattleFrontier_OutsideEast_EventScript_Twin" to
BattleFrontier_OutsideEast_EventScript_Twin,
"BattleFrontier_OutsideEast_EventScript_Man2" to
BattleFrontier_OutsideEast_EventScript_Man2,
"BattleFrontier_OutsideEast_EventScript_Zigzagoon" to
BattleFrontier_OutsideEast_EventScript_Zigzagoon,
"BattleFrontier_OutsideEast_EventScript_Sudowoodo" to
BattleFrontier_OutsideEast_EventScript_Sudowoodo,
"BattleFrontier_OutsideEast_EventScript_Maniac1" to
BattleFrontier_OutsideEast_EventScript_Maniac1,
"BattleFrontier_OutsideEast_EventScript_Girl" to
BattleFrontier_OutsideEast_EventScript_Girl,
"BattleFrontier_OutsideEast_EventScript_PsychicM" to
BattleFrontier_OutsideEast_EventScript_PsychicM,
"BattleFrontier_OutsideEast_EventScript_Man3" to
BattleFrontier_OutsideEast_EventScript_Man3,
"BattleFrontier_OutsideEast_EventScript_Woman1" to
BattleFrontier_OutsideEast_EventScript_Woman1,
"BattleFrontier_OutsideEast_EventScript_Woman2" to
BattleFrontier_OutsideEast_EventScript_Woman2,
"BattleFrontier_OutsideEast_EventScript_BlackBelt2" to
BattleFrontier_OutsideEast_EventScript_BlackBelt2,
"BattleFrontier_OutsideEast_EventScript_Maniac2" to
BattleFrontier_OutsideEast_EventScript_Maniac2,
"BattleFrontier_OutsideEast_EventScript_Woman3" to
BattleFrontier_OutsideEast_EventScript_Woman3,
"BattleFrontier_OutsideEast_EventScript_OldWoman" to
BattleFrontier_OutsideEast_EventScript_OldWoman,
"BattleFrontier_OutsideEast_EventScript_Gentleman" to
BattleFrontier_OutsideEast_EventScript_Gentleman,
"BattleFrontier_OutsideEast_EventScript_Camper" to
BattleFrontier_OutsideEast_EventScript_Camper,
"BattleFrontier_OutsideEast_EventScript_BattleTowerSign" to
BattleFrontier_OutsideEast_EventScript_BattleTowerSign,
"BattleFrontier_OutsideEast_EventScript_BattlePalaceSign" to
BattleFrontier_OutsideEast_EventScript_BattlePalaceSign,
"BattleFrontier_OutsideEast_EventScript_BattleArenaSign" to
BattleFrontier_OutsideEast_EventScript_BattleArenaSign,
"BattleFrontier_OutsideEast_EventScript_BattlePyramidSign" to
BattleFrontier_OutsideEast_EventScript_BattlePyramidSign,
"BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign" to
BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign,
"BattleFrontier_OutsideEast_EventScript_RankingHallSign" to
BattleFrontier_OutsideEast_EventScript_RankingHallSign,
"Common_EventScript_ShowPokemonCenterSign" to Common_EventScript_ShowPokemonCenterSign,
)
@@ -0,0 +1,299 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_OutsideWest
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object BattleFrontier_OutsideWest_EventScript_Boy1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.BestOutOfAllMyFriends)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_OutsideWest_Text_MayISeeYourTicket, MSGBOX_DEFAULT
* checkitem ITEM_SS_TICKET
* goto_if_eq VAR_RESULT, FALSE, BattleFrontier_OutsideWest_EventScript_NoSSTicket
* message BattleFrontier_OutsideWest_Text_WhereWouldYouLikeToGo
* waitmessage
* goto BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_FerryAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_FerryAttendant")
}
internal object BattleFrontier_OutsideWest_EventScript_ExpertM : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.WontLetGentlemenBeatMe)
}
internal object BattleFrontier_OutsideWest_EventScript_Man1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.OnlyToughTrainersBroughtHere)
}
internal object BattleFrontier_OutsideWest_EventScript_Woman1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.FinallyArrivedAtFrontier)
}
internal object BattleFrontier_OutsideWest_EventScript_FatMan1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.SquareFilledWithToughPeople)
}
internal object BattleFrontier_OutsideWest_EventScript_Gentleman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.YoureOffToChallengeDome)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* goto BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Maniac1 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Maniac1")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* goto BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Maniac2 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Maniac2")
}
internal object BattleFrontier_OutsideWest_EventScript_Man2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.NothingHereNotLongAgo)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message BattleFrontier_OutsideWest_Text_ScaredOfPikeBecauseSeviper
* waitmessage
* call_if_eq VAR_FACING, DIR_NORTH, BattleFrontier_OutsideWest_EventScript_GirlShudderNorth
* call_if_eq VAR_FACING, DIR_SOUTH, BattleFrontier_OutsideWest_EventScript_GirlShudderSouth
* call_if_eq VAR_FACING, DIR_WEST, BattleFrontier_OutsideWest_EventScript_GirlShudderWest
* call_if_eq VAR_FACING, DIR_EAST, BattleFrontier_OutsideWest_EventScript_GirlShudderEast
* waitbuttonpress
* release
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Girl")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_OutsideWest_Text_LetsPlayRockPaperScissors, MSGBOX_DEFAULT
* random 2
* goto_if_eq VAR_RESULT, 1, BattleFrontier_OutsideWest_EventScript_WomanWonRockPaperScissors
* goto BattleFrontier_OutsideWest_EventScript_WomanLostRockPaperScissors
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Woman2 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Woman2")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* delay 20
* call_if_eq VAR_FACING, DIR_NORTH, BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
* call_if_eq VAR_FACING, DIR_SOUTH, BattleFrontier_OutsideWest_EventScript_CamperAlreadyFacingFactory
* call_if_eq VAR_FACING, DIR_WEST, BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
* call_if_eq VAR_FACING, DIR_EAST, BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
* msgbox BattleFrontier_OutsideWest_Text_WhosRaisingThoseRentalMons, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Camper : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Camper")
}
internal object BattleFrontier_OutsideWest_EventScript_Lass : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.KeepBattlingUntilIGetSymbol)
}
internal object BattleFrontier_OutsideWest_EventScript_Man3 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.LongDreamedAboutBattleFrontier)
}
internal object BattleFrontier_OutsideWest_EventScript_Fisherman1 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.ChooseFishingOverBattling)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message BattleFrontier_OutsideWest_Text_GotSeasickOnWayHere
* waitmessage
* applymovement LOCALID_FRONTIER_FISHERMAN_2, Common_Movement_FaceAwayPlayer
* waitmovement 0
* waitbuttonpress
* release
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Fisherman2 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Fisherman2")
}
internal object BattleFrontier_OutsideWest_EventScript_FatMan2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.MetOlderGirlAtPike)
}
internal object BattleFrontier_OutsideWest_EventScript_Woman3 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.LastTimeOurEyesMet)
}
internal object BattleFrontier_OutsideWest_EventScript_Boy2 : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.DomeAceLookedBecauseOfMyCheering)
}
internal object BattleFrontier_OutsideWest_EventScript_OldMan : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(BattleFrontier_OutsideWest.DomeAceIsMine)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_OutsideWest_Text_FansOverThereUsedToBeTrainers, MSGBOX_DEFAULT
* closemessage
* applymovement LOCALID_FRONTIER_MAN_4, Common_Movement_FaceOriginalDirection
* waitmovement 0
* release
* end
* ```
*/
internal object BattleFrontier_OutsideWest_EventScript_Man4 : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_OutsideWest_EventScript_Man4")
}
internal object BattleFrontier_OutsideWest_EventScript_PokefanF : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_OutsideWest.MonWithLongTailInFrontier)
}
internal object BattleFrontier_OutsideWest_EventScript_BattleDomeSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(BattleFrontier_OutsideWest.BattleDomeSign)
}
internal object BattleFrontier_OutsideWest_EventScript_BattlePikeSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(BattleFrontier_OutsideWest.BattlePikeSign)
}
internal object BattleFrontier_OutsideWest_EventScript_BattleFactorySign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_OutsideWest.BattleFactorySign)
}
/**
* Not ported yet. Decomp body:
* ```
* script body not found
* ```
*/
internal object Common_EventScript_ShowPokemartSign : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port Common_EventScript_ShowPokemartSign")
}
internal val BattleFrontier_OutsideWestScripts: Map<String, Script> =
mapOf(
"BattleFrontier_OutsideWest_EventScript_Boy1" to
BattleFrontier_OutsideWest_EventScript_Boy1,
"BattleFrontier_OutsideWest_EventScript_FerryAttendant" to
BattleFrontier_OutsideWest_EventScript_FerryAttendant,
"BattleFrontier_OutsideWest_EventScript_ExpertM" to
BattleFrontier_OutsideWest_EventScript_ExpertM,
"BattleFrontier_OutsideWest_EventScript_Man1" to
BattleFrontier_OutsideWest_EventScript_Man1,
"BattleFrontier_OutsideWest_EventScript_Woman1" to
BattleFrontier_OutsideWest_EventScript_Woman1,
"BattleFrontier_OutsideWest_EventScript_FatMan1" to
BattleFrontier_OutsideWest_EventScript_FatMan1,
"BattleFrontier_OutsideWest_EventScript_Gentleman" to
BattleFrontier_OutsideWest_EventScript_Gentleman,
"BattleFrontier_OutsideWest_EventScript_Maniac1" to
BattleFrontier_OutsideWest_EventScript_Maniac1,
"BattleFrontier_OutsideWest_EventScript_Maniac2" to
BattleFrontier_OutsideWest_EventScript_Maniac2,
"BattleFrontier_OutsideWest_EventScript_Man2" to
BattleFrontier_OutsideWest_EventScript_Man2,
"BattleFrontier_OutsideWest_EventScript_Girl" to
BattleFrontier_OutsideWest_EventScript_Girl,
"BattleFrontier_OutsideWest_EventScript_Woman2" to
BattleFrontier_OutsideWest_EventScript_Woman2,
"BattleFrontier_OutsideWest_EventScript_Camper" to
BattleFrontier_OutsideWest_EventScript_Camper,
"BattleFrontier_OutsideWest_EventScript_Lass" to
BattleFrontier_OutsideWest_EventScript_Lass,
"BattleFrontier_OutsideWest_EventScript_Man3" to
BattleFrontier_OutsideWest_EventScript_Man3,
"BattleFrontier_OutsideWest_EventScript_Fisherman1" to
BattleFrontier_OutsideWest_EventScript_Fisherman1,
"BattleFrontier_OutsideWest_EventScript_Fisherman2" to
BattleFrontier_OutsideWest_EventScript_Fisherman2,
"BattleFrontier_OutsideWest_EventScript_FatMan2" to
BattleFrontier_OutsideWest_EventScript_FatMan2,
"BattleFrontier_OutsideWest_EventScript_Woman3" to
BattleFrontier_OutsideWest_EventScript_Woman3,
"BattleFrontier_OutsideWest_EventScript_Boy2" to
BattleFrontier_OutsideWest_EventScript_Boy2,
"BattleFrontier_OutsideWest_EventScript_OldMan" to
BattleFrontier_OutsideWest_EventScript_OldMan,
"BattleFrontier_OutsideWest_EventScript_Man4" to
BattleFrontier_OutsideWest_EventScript_Man4,
"BattleFrontier_OutsideWest_EventScript_PokefanF" to
BattleFrontier_OutsideWest_EventScript_PokefanF,
"BattleFrontier_OutsideWest_EventScript_BattleDomeSign" to
BattleFrontier_OutsideWest_EventScript_BattleDomeSign,
"BattleFrontier_OutsideWest_EventScript_BattlePikeSign" to
BattleFrontier_OutsideWest_EventScript_BattlePikeSign,
"BattleFrontier_OutsideWest_EventScript_BattleFactorySign" to
BattleFrontier_OutsideWest_EventScript_BattleFactorySign,
"Common_EventScript_ShowPokemartSign" to Common_EventScript_ShowPokemartSign,
)
@@ -0,0 +1,68 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_PokemonCenter_1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* setvar VAR_0x800B, LOCALID_FRONTIER_NURSE
* call Common_EventScript_PkmnCenterNurse
* waitmessage
* waitbuttonpress
* release
* end
* ```
*/
internal object BattleFrontier_PokemonCenter_1F_EventScript_Nurse : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_PokemonCenter_1F_EventScript_Nurse")
}
internal object BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_PokemonCenter_1F.NeverSeenPokemon)
}
internal object BattleFrontier_PokemonCenter_1F_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_PokemonCenter_1F.NextStopBattleArena)
}
internal object BattleFrontier_PokemonCenter_1F_EventScript_Picnicker : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_PokemonCenter_1F.GoingThroughEveryChallenge)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_SKITTY, CRY_MODE_NORMAL
* msgbox BattleFrontier_PokemonCenter_1F_Text_Skitty, MSGBOX_DEFAULT
* waitmoncry
* release
* end
* ```
*/
internal object BattleFrontier_PokemonCenter_1F_EventScript_Skitty : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_PokemonCenter_1F_EventScript_Skitty")
}
internal val BattleFrontier_PokemonCenter_1FScripts: Map<String, Script> =
mapOf(
"BattleFrontier_PokemonCenter_1F_EventScript_Nurse" to
BattleFrontier_PokemonCenter_1F_EventScript_Nurse,
"BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid" to
BattleFrontier_PokemonCenter_1F_EventScript_SchoolKid,
"BattleFrontier_PokemonCenter_1F_EventScript_Man" to
BattleFrontier_PokemonCenter_1F_EventScript_Man,
"BattleFrontier_PokemonCenter_1F_EventScript_Picnicker" to
BattleFrontier_PokemonCenter_1F_EventScript_Picnicker,
"BattleFrontier_PokemonCenter_1F_EventScript_Skitty" to
BattleFrontier_PokemonCenter_1F_EventScript_Skitty,
)
@@ -0,0 +1,57 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* script body not found
* ```
*/
internal object Common_EventScript_UnionRoomAttendant : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port Common_EventScript_UnionRoomAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* script body not found
* ```
*/
internal object Common_EventScript_WirelessClubAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port Common_EventScript_WirelessClubAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* script body not found
* ```
*/
internal object Common_EventScript_DirectCornerAttendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port Common_EventScript_DirectCornerAttendant")
}
/**
* Not ported yet. Decomp body:
* ```
* specialvar VAR_RESULT, ShouldDistributeEonTicket
* goto_if_eq VAR_RESULT, TRUE, CableClub_EventScript_DistributeEonTicket
* goto CableClub_EventScript_TryWonderCardScript
* end
* ```
*/
internal object CableClub_EventScript_MysteryGiftMan : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port CableClub_EventScript_MysteryGiftMan")
}
internal val BattleFrontier_PokemonCenter_2FScripts: Map<String, Script> =
mapOf(
"Common_EventScript_UnionRoomAttendant" to Common_EventScript_UnionRoomAttendant,
"Common_EventScript_WirelessClubAttendant" to Common_EventScript_WirelessClubAttendant,
"Common_EventScript_DirectCornerAttendant" to Common_EventScript_DirectCornerAttendant,
"CableClub_EventScript_MysteryGiftMan" to CableClub_EventScript_MysteryGiftMan,
)
@@ -0,0 +1,215 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.BattleFrontier_RankingHall
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object BattleFrontier_RankingHall_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_RankingHall.ExplainRankingHall)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_RankingHall_Text_IsYourNameOnThisList, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, YES, BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList
* msgbox BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_NinjaBoy : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_NinjaBoy")
}
internal object BattleFrontier_RankingHall_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(BattleFrontier_RankingHall.MyNamesNotUpThere)
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_TOWER_SINGLES
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_TowerSinglesRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_TowerSinglesRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_TOWER_DOUBLES
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_TowerDoublesRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_TowerDoublesRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_TOWER_MULTIS
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_TowerMultisRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_TowerMultisRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_TOWER_LINK
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_TowerLinkRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_TowerLinkRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_ARENA
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_ArenaRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_ArenaRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_PALACE
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_PalaceRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_PalaceRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_FACTORY
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_FactoryRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_FactoryRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_DOME
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_DomeRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_DomeRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_PIKE
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_PikeRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_PikeRecords")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8005, RANKING_HALL_PYRAMID
* goto BattleFrontier_RankingHall_EventScript_ShowRecords
* end
* ```
*/
internal object BattleFrontier_RankingHall_EventScript_PyramidRecords : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_RankingHall_EventScript_PyramidRecords")
}
internal object BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_RankingHall.DomePikeFactoryRecords)
}
internal object BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.sign(BattleFrontier_RankingHall.PalaceArenaPyramidRecords)
}
internal val BattleFrontier_RankingHallScripts: Map<String, Script> =
mapOf(
"BattleFrontier_RankingHall_EventScript_Attendant" to
BattleFrontier_RankingHall_EventScript_Attendant,
"BattleFrontier_RankingHall_EventScript_NinjaBoy" to
BattleFrontier_RankingHall_EventScript_NinjaBoy,
"BattleFrontier_RankingHall_EventScript_Boy" to BattleFrontier_RankingHall_EventScript_Boy,
"BattleFrontier_RankingHall_EventScript_TowerSinglesRecords" to
BattleFrontier_RankingHall_EventScript_TowerSinglesRecords,
"BattleFrontier_RankingHall_EventScript_TowerDoublesRecords" to
BattleFrontier_RankingHall_EventScript_TowerDoublesRecords,
"BattleFrontier_RankingHall_EventScript_TowerMultisRecords" to
BattleFrontier_RankingHall_EventScript_TowerMultisRecords,
"BattleFrontier_RankingHall_EventScript_TowerLinkRecords" to
BattleFrontier_RankingHall_EventScript_TowerLinkRecords,
"BattleFrontier_RankingHall_EventScript_ArenaRecords" to
BattleFrontier_RankingHall_EventScript_ArenaRecords,
"BattleFrontier_RankingHall_EventScript_PalaceRecords" to
BattleFrontier_RankingHall_EventScript_PalaceRecords,
"BattleFrontier_RankingHall_EventScript_FactoryRecords" to
BattleFrontier_RankingHall_EventScript_FactoryRecords,
"BattleFrontier_RankingHall_EventScript_DomeRecords" to
BattleFrontier_RankingHall_EventScript_DomeRecords,
"BattleFrontier_RankingHall_EventScript_PikeRecords" to
BattleFrontier_RankingHall_EventScript_PikeRecords,
"BattleFrontier_RankingHall_EventScript_PyramidRecords" to
BattleFrontier_RankingHall_EventScript_PyramidRecords,
"BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign" to
BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign,
"BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn" to
BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn,
)
@@ -0,0 +1,77 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
* msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object BattleFrontier_ReceptionGate_EventScript_Greeter : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ReceptionGate_EventScript_Greeter")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_ReceptionGate_Text_YourGuideToFacilities, MSGBOX_DEFAULT
* goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
* end
* ```
*/
internal object BattleFrontier_ReceptionGate_EventScript_FacilityGuide : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ReceptionGate_EventScript_FacilityGuide")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_ReceptionGate_Text_YourGuideToRules, MSGBOX_DEFAULT
* goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
* end
* ```
*/
internal object BattleFrontier_ReceptionGate_EventScript_RulesGuide : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ReceptionGate_EventScript_RulesGuide")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BattleFrontier_ReceptionGate_Text_YourGuideToFrontierPass, MSGBOX_DEFAULT
* goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
* end
* ```
*/
internal object BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide")
}
internal val BattleFrontier_ReceptionGateScripts: Map<String, Script> =
mapOf(
"BattleFrontier_ReceptionGate_EventScript_Greeter" to
BattleFrontier_ReceptionGate_EventScript_Greeter,
"BattleFrontier_ReceptionGate_EventScript_FacilityGuide" to
BattleFrontier_ReceptionGate_EventScript_FacilityGuide,
"BattleFrontier_ReceptionGate_EventScript_RulesGuide" to
BattleFrontier_ReceptionGate_EventScript_RulesGuide,
"BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide" to
BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide,
)
@@ -0,0 +1,27 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_GivenBerry
* goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_GivenShield
* goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_GivenBattlePoints
* goto BattleFrontier_ScottsHouse_EventScript_CheckGiveItems
* end
* ```
*/
internal object BattleFrontier_ScottsHouse_EventScript_Scott : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BattleFrontier_ScottsHouse_EventScript_Scott")
}
internal val BattleFrontier_ScottsHouseScripts: Map<String, Script> =
mapOf(
"BattleFrontier_ScottsHouse_EventScript_Scott" to
BattleFrontier_ScottsHouse_EventScript_Scott,
)
@@ -0,0 +1,40 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle TRAINER_BATTLE_PYRAMID, TRAINER_PHILLIP, LOCALID_NONE, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
* pyramid_showhint
* waitmessage
* waitbuttonpress
* closemessage
* releaseall
* end
* ```
*/
internal object BattlePyramid_TrainerBattle : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port BattlePyramid_TrainerBattle")
}
/**
* Not ported yet. Decomp body:
* ```
* pyramid_setitem
* callstd STD_FIND_ITEM
* goto_if_eq VAR_0x8007, 0, BattlePyramid_FindItemBallEnd
* pyramid_hideitem
* end
* ```
*/
internal object BattlePyramid_FindItemBall : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port BattlePyramid_FindItemBall")
}
internal val BattlePyramidSquare01Scripts: Map<String, Script> =
mapOf(
"BattlePyramid_TrainerBattle" to BattlePyramid_TrainerBattle,
"BattlePyramid_FindItemBall" to BattlePyramid_FindItemBall,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* special DoDeoxysRockInteraction
* switch VAR_RESULT
* case DEOXYS_ROCK_FAILED, BirthIsland_Exterior_EventScript_Failed
* case DEOXYS_ROCK_PROGRESSED, BirthIsland_Exterior_EventScript_Progressed
* case DEOXYS_ROCK_SOLVED, BirthIsland_Exterior_EventScript_Deoxys
* case DEOXYS_ROCK_COMPLETE, BirthIsland_Exterior_EventScript_Complete
* end
* ```
*/
internal object BirthIsland_Exterior_EventScript_Triangle : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port BirthIsland_Exterior_EventScript_Triangle")
}
internal val BirthIsland_ExteriorScripts: Map<String, Script> =
mapOf(
"BirthIsland_Exterior_EventScript_Triangle" to BirthIsland_Exterior_EventScript_Triangle,
)
@@ -0,0 +1,34 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox BirthIsland_Harbor_Text_SailorReturn, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, BirthIsland_Harbor_EventScript_AsYouLike
* msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
* closemessage
* applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
* waitmovement 0
* delay 30
* hideobjectat LOCALID_BIRTH_ISLAND_SAILOR, MAP_BIRTH_ISLAND_HARBOR
* setvar VAR_0x8004, LOCALID_BIRTH_ISLAND_SS_TIDAL
* call Common_EventScript_FerryDepartIsland
* warp MAP_LILYCOVE_CITY_HARBOR, 8, 11
* waitstate
* release
* end
* ```
*/
internal object BirthIsland_Harbor_EventScript_Sailor : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port BirthIsland_Harbor_EventScript_Sailor")
}
internal val BirthIsland_HarborScripts: Map<String, Script> =
mapOf(
"BirthIsland_Harbor_EventScript_Sailor" to BirthIsland_Harbor_EventScript_Sailor,
)
@@ -0,0 +1,36 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox CaveOfOrigin_B1F_Text_WallaceStory, MSGBOX_DEFAULT
* closemessage
* applymovement LOCALID_CAVE_OF_ORIGIN_WALLACE, Common_Movement_WalkInPlaceFasterUp
* waitmovement 0
* delay 60
* playse SE_PIN
* applymovement LOCALID_CAVE_OF_ORIGIN_WALLACE, Common_Movement_ExclamationMark
* waitmovement 0
* applymovement LOCALID_CAVE_OF_ORIGIN_WALLACE, Common_Movement_Delay48
* waitmovement 0
* delay 30
* applymovement LOCALID_CAVE_OF_ORIGIN_WALLACE, Common_Movement_FacePlayer
* waitmovement 0
* message CaveOfOrigin_B1F_Text_WhereIsRayquaza
* waitmessage
* goto CaveOfOrigin_B1F_EventScript_WheresRayquaza
* ```
*/
internal object CaveOfOrigin_B1F_EventScript_Wallace : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port CaveOfOrigin_B1F_EventScript_Wallace")
}
internal val CaveOfOrigin_B1FScripts: Map<String, Script> =
mapOf(
"CaveOfOrigin_B1F_EventScript_Wallace" to CaveOfOrigin_B1F_EventScript_Wallace,
)
@@ -0,0 +1,66 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_REGIROCK, CRY_MODE_ENCOUNTER
* delay 40
* waitmoncry
* setwildbattle SPECIES_REGIROCK, 40
* setflag FLAG_SYS_CTRL_OBJ_DELETE
* special StartRegiBattle
* clearflag FLAG_SYS_CTRL_OBJ_DELETE
* specialvar VAR_RESULT, GetBattleOutcome
* goto_if_eq VAR_RESULT, B_OUTCOME_WON, DesertRuins_EventScript_DefeatedRegirock
* goto_if_eq VAR_RESULT, B_OUTCOME_RAN, DesertRuins_EventScript_RanFromRegirock
* goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, DesertRuins_EventScript_RanFromRegirock
* setflag FLAG_DEFEATED_REGIROCK
* release
* end
* ```
*/
internal object DesertRuins_EventScript_Regirock : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DesertRuins_EventScript_Regirock")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_SYS_REGIROCK_PUZZLE_COMPLETED, DesertRuins_EventScript_BigHoleInWall
* braillemsgbox DesertRuins_Braille_UseRockSmash
* releaseall
* end
* ```
*/
internal object DesertRuins_EventScript_CaveEntranceMiddle : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DesertRuins_EventScript_CaveEntranceMiddle")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* braillemsgbox DesertRuins_Braille_UseRockSmash
* releaseall
* end
* ```
*/
internal object DesertRuins_EventScript_CaveEntranceSide : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DesertRuins_EventScript_CaveEntranceSide")
}
internal val DesertRuinsScripts: Map<String, Script> =
mapOf(
"DesertRuins_EventScript_Regirock" to DesertRuins_EventScript_Regirock,
"DesertRuins_EventScript_CaveEntranceMiddle" to DesertRuins_EventScript_CaveEntranceMiddle,
"DesertRuins_EventScript_CaveEntranceSide" to DesertRuins_EventScript_CaveEntranceSide,
)
@@ -0,0 +1,24 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_CHOSE_ROOT_FOSSIL, DesertUnderpass_EventScript_GiveClawFossil
* goto_if_set FLAG_CHOSE_CLAW_FOSSIL, DesertUnderpass_EventScript_GiveRootFossil
* release
* end
* ```
*/
internal object DesertUnderpass_EventScript_Fossil : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DesertUnderpass_EventScript_Fossil")
}
internal val DesertUnderpassScripts: Map<String, Script> =
mapOf(
"DesertUnderpass_EventScript_Fossil" to DesertUnderpass_EventScript_Fossil,
)
@@ -0,0 +1,87 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.DewfordTown
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object DewfordTown_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(DewfordTown.TinyIslandCommunity)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, DewfordTown_EventScript_ReturnToPetalburgPrompt
* message DewfordTown_Text_WhereAreWeBound
* waitmessage
* multichoicedefault 21, 6, MULTI_BRINEY_ON_DEWFORD, 2, FALSE
* switch VAR_RESULT
* case 0, DewfordTown_EventScript_ChoosePetalburg
* case 1, DewfordTown_EventScript_ChooseSlateport
* case 2, DewfordTown_EventScript_CancelSailSelect
* case MULTI_B_PRESSED, DewfordTown_EventScript_CancelSailSelect
* end
* ```
*/
internal object DewfordTown_EventScript_Briney : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_EventScript_Briney")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_RECEIVED_OLD_ROD, DewfordTown_EventScript_HowsFishing
* msgbox DewfordTown_Text_GettingItchToFish, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, YES, DewfordTown_EventScript_GiveOldRod
* goto_if_eq VAR_RESULT, NO, DewfordTown_EventScript_NotGettingItchToFish
* end
* ```
*/
internal object DewfordTown_EventScript_OldRodFisherman : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_EventScript_OldRodFisherman")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* msgbox DewfordTown_Text_XIsTheBiggestHappeningThingRight, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, YES, DewfordTown_EventScript_ConfirmTrendyPhrase
* goto_if_eq VAR_RESULT, NO, DewfordTown_EventScript_RejectTrendyPhrase
* end
* ```
*/
internal object DewfordTown_EventScript_TrendyPhraseBoy : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_EventScript_TrendyPhraseBoy")
}
internal object DewfordTown_EventScript_TownSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(DewfordTown.TownSign)
}
internal object DewfordTown_EventScript_GymSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(DewfordTown.GymSign)
}
internal object DewfordTown_EventScript_HallSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(DewfordTown.HallSign)
}
internal val DewfordTownScripts: Map<String, Script> =
mapOf(
"DewfordTown_EventScript_Woman" to DewfordTown_EventScript_Woman,
"DewfordTown_EventScript_Briney" to DewfordTown_EventScript_Briney,
"DewfordTown_EventScript_OldRodFisherman" to DewfordTown_EventScript_OldRodFisherman,
"DewfordTown_EventScript_TrendyPhraseBoy" to DewfordTown_EventScript_TrendyPhraseBoy,
"DewfordTown_EventScript_TownSign" to DewfordTown_EventScript_TownSign,
"DewfordTown_EventScript_GymSign" to DewfordTown_EventScript_GymSign,
"DewfordTown_EventScript_HallSign" to DewfordTown_EventScript_HallSign,
)
@@ -0,0 +1,149 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_BRAWLY_1, DewfordTown_Gym_Text_BrawlyIntro, DewfordTown_Gym_Text_BrawlyDefeat, DewfordTown_Gym_EventScript_BrawlyDefeated, NO_MUSIC
* specialvar VAR_RESULT, ShouldTryRematchBattle
* goto_if_eq VAR_RESULT, TRUE, DewfordTown_Gym_EventScript_BrawlyRematch
* goto_if_unset FLAG_RECEIVED_TM_BULK_UP, DewfordTown_Gym_EventScript_GiveBulkUp2
* msgbox DewfordTown_Gym_Text_BrawlyPostBattle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Brawly : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Brawly")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_TAKAO, DewfordTown_Gym_Text_TakaoIntro, DewfordTown_Gym_Text_TakaoDefeat, DewfordTown_Gym_EventScript_TakaoBrightenRoom
* msgbox DewfordTown_Gym_Text_TakaoPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Takao : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Takao")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_JOCELYN, DewfordTown_Gym_Text_JocelynIntro, DewfordTown_Gym_Text_JocelynDefeat, DewfordTown_Gym_EventScript_JocelynBrightenRoom
* msgbox DewfordTown_Gym_Text_JocelynPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Jocelyn : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Jocelyn")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_LAURA, DewfordTown_Gym_Text_LauraIntro, DewfordTown_Gym_Text_LauraDefeat, DewfordTown_Gym_EventScript_LauraBrightenRoom
* msgbox DewfordTown_Gym_Text_LauraPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Laura : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Laura")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_DEWFORD_GYM, DewfordTown_Gym_EventScript_GymGuidePostVictory
* msgbox DewfordTown_Gym_Text_GymGuideAdvice, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_GymGuide : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_GymGuide")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_CRISTIAN, DewfordTown_Gym_Text_CristianIntro, DewfordTown_Gym_Text_CristianDefeat, DewfordTown_Gym_EventScript_CristianBrightenRoom
* msgbox DewfordTown_Gym_Text_CristianPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Cristian : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Cristian")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_LILITH, DewfordTown_Gym_Text_LilithIntro, DewfordTown_Gym_Text_LilithDefeat, DewfordTown_Gym_EventScript_LilithBrightenRoom
* msgbox DewfordTown_Gym_Text_LilithPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Lilith : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Lilith")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_BRENDEN, DewfordTown_Gym_Text_BrendenIntro, DewfordTown_Gym_Text_BrendenDefeat, DewfordTown_Gym_EventScript_BrendenBrightenRoom
* msgbox DewfordTown_Gym_Text_BrendenPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_Brenden : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Gym_EventScript_Brenden")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_GymStatueCertified
* goto DewfordTown_Gym_EventScript_GymStatue
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_LeftGymStatue : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_Gym_EventScript_LeftGymStatue")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_BADGE02_GET, DewfordTown_Gym_EventScript_GymStatueCertified
* goto DewfordTown_Gym_EventScript_GymStatue
* end
* ```
*/
internal object DewfordTown_Gym_EventScript_RightGymStatue : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_Gym_EventScript_RightGymStatue")
}
internal val DewfordTown_GymScripts: Map<String, Script> =
mapOf(
"DewfordTown_Gym_EventScript_Brawly" to DewfordTown_Gym_EventScript_Brawly,
"DewfordTown_Gym_EventScript_Takao" to DewfordTown_Gym_EventScript_Takao,
"DewfordTown_Gym_EventScript_Jocelyn" to DewfordTown_Gym_EventScript_Jocelyn,
"DewfordTown_Gym_EventScript_Laura" to DewfordTown_Gym_EventScript_Laura,
"DewfordTown_Gym_EventScript_GymGuide" to DewfordTown_Gym_EventScript_GymGuide,
"DewfordTown_Gym_EventScript_Cristian" to DewfordTown_Gym_EventScript_Cristian,
"DewfordTown_Gym_EventScript_Lilith" to DewfordTown_Gym_EventScript_Lilith,
"DewfordTown_Gym_EventScript_Brenden" to DewfordTown_Gym_EventScript_Brenden,
"DewfordTown_Gym_EventScript_LeftGymStatue" to DewfordTown_Gym_EventScript_LeftGymStatue,
"DewfordTown_Gym_EventScript_RightGymStatue" to DewfordTown_Gym_EventScript_RightGymStatue,
)
@@ -0,0 +1,202 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* special IsTrendyPhraseBoring
* goto_if_eq VAR_RESULT, TRUE, DewfordTown_Hall_EventScript_GirlBoredOfTrend
* msgbox DewfordTown_Hall_Text_CantImagineLifeWithoutTrend, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_Girl")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* msgbox DewfordTown_Hall_Text_TeachingMonAboutTrend, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_Woman")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* special BufferDeepLinkPhrase
* msgbox DewfordTown_Hall_Text_DeepLinkBetweenXAndY, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, YES, DewfordTown_Hall_EventScript_ConfirmTrendLink
* goto_if_eq VAR_RESULT, NO, DewfordTown_Hall_EventScript_RejectTrendLink
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_Man")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* msgbox DewfordTown_Hall_Text_TVShowAboutTrend, MSGBOX_DEFAULT
* closemessage
* applymovement LOCALID_DEWFORD_HALL_EXPERT_M, Common_Movement_WalkInPlaceFasterUp
* waitmovement 0
* release
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_ExpertM : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_ExpertM")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* msgbox DewfordTown_Hall_Text_IsTrendMorePopularAcrossSea, MSGBOX_DEFAULT
* closemessage
* applymovement LOCALID_DEWFORD_HALL_TWIN, Common_Movement_WalkInPlaceFasterUp
* waitmovement 0
* release
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_Twin : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_Twin")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* msgbox DewfordTown_Hall_Text_CollectTrendMerchandise, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_LittleBoy : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_LittleBoy")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8008, 0
* goto DewfordTown_Hall_EventScript_DoTrendDebate
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_SchoolKidM : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_Hall_EventScript_SchoolKidM")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* setvar VAR_0x8008, 1
* goto DewfordTown_Hall_EventScript_DoTrendDebate
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_PsychicM : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_PsychicM")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* call Common_EventScript_BufferTrendyPhrase
* goto_if_set FLAG_RECEIVED_TM_SLUDGE_BOMB, DewfordTown_Hall_EventScript_ReceivedSludgeBomb
* msgbox DewfordTown_Hall_Text_GiveYouSludgeBomb, MSGBOX_DEFAULT
* giveitem ITEM_TM_SLUDGE_BOMB
* goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
* setflag FLAG_RECEIVED_TM_SLUDGE_BOMB
* release
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_SludgeBombMan : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_Hall_EventScript_SludgeBombMan")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* call Common_EventScript_BufferTrendyPhrase
* msgbox DewfordTown_Hall_Text_BooksAboutTrend, MSGBOX_DEFAULT
* releaseall
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_Bookshelf : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_Bookshelf")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* call Common_EventScript_BufferTrendyPhrase
* special GetDewfordHallPaintingNameIndex
* switch VAR_RESULT
* case 0, DewfordTown_Hall_EventScript_ScreamTitle
* case 4, DewfordTown_Hall_EventScript_ScreamTitle
* case 1, DewfordTown_Hall_EventScript_SmileTitle
* case 5, DewfordTown_Hall_EventScript_ScreamTitle
* case 2, DewfordTown_Hall_EventScript_LastTitle
* case 6, DewfordTown_Hall_EventScript_LastTitle
* case 3, DewfordTown_Hall_EventScript_BirthTitle
* case 7, DewfordTown_Hall_EventScript_LastTitle
* end
* ```
*/
internal object DewfordTown_Hall_EventScript_Painting : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_Hall_EventScript_Painting")
}
internal val DewfordTown_HallScripts: Map<String, Script> =
mapOf(
"DewfordTown_Hall_EventScript_Girl" to DewfordTown_Hall_EventScript_Girl,
"DewfordTown_Hall_EventScript_Woman" to DewfordTown_Hall_EventScript_Woman,
"DewfordTown_Hall_EventScript_Man" to DewfordTown_Hall_EventScript_Man,
"DewfordTown_Hall_EventScript_ExpertM" to DewfordTown_Hall_EventScript_ExpertM,
"DewfordTown_Hall_EventScript_Twin" to DewfordTown_Hall_EventScript_Twin,
"DewfordTown_Hall_EventScript_LittleBoy" to DewfordTown_Hall_EventScript_LittleBoy,
"DewfordTown_Hall_EventScript_SchoolKidM" to DewfordTown_Hall_EventScript_SchoolKidM,
"DewfordTown_Hall_EventScript_PsychicM" to DewfordTown_Hall_EventScript_PsychicM,
"DewfordTown_Hall_EventScript_SludgeBombMan" to DewfordTown_Hall_EventScript_SludgeBombMan,
"DewfordTown_Hall_EventScript_Bookshelf" to DewfordTown_Hall_EventScript_Bookshelf,
"DewfordTown_Hall_EventScript_Painting" to DewfordTown_Hall_EventScript_Painting,
)
@@ -0,0 +1,39 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.DewfordTown_House1
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object DewfordTown_House1_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(DewfordTown_House1.LifeGoesSlowlyOnIsland)
}
internal object DewfordTown_House1_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(DewfordTown_House1.LotToBeSaidForLivingOnIsland)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_ZIGZAGOON, CRY_MODE_NORMAL
* msgbox DewfordTown_House1_Text_Zigzagoon, MSGBOX_DEFAULT
* waitmoncry
* release
* end
* ```
*/
internal object DewfordTown_House1_EventScript_Zigzagoon : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_House1_EventScript_Zigzagoon")
}
internal val DewfordTown_House1Scripts: Map<String, Script> =
mapOf(
"DewfordTown_House1_EventScript_Woman" to DewfordTown_House1_EventScript_Woman,
"DewfordTown_House1_EventScript_Man" to DewfordTown_House1_EventScript_Man,
"DewfordTown_House1_EventScript_Zigzagoon" to DewfordTown_House1_EventScript_Zigzagoon,
)
@@ -0,0 +1,33 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.DewfordTown_House2
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_RECEIVED_SILK_SCARF, DewfordTown_House2_EventScript_ExplainSilkScarf
* msgbox DewfordTown_House2_Text_WantYouToHaveSilkScarf, MSGBOX_DEFAULT
* giveitem ITEM_SILK_SCARF
* goto_if_eq VAR_RESULT, FALSE, DewfordTown_House2_EventScript_NoRoomForScarf
* setflag FLAG_RECEIVED_SILK_SCARF
* release
* end
* ```
*/
internal object DewfordTown_House2_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port DewfordTown_House2_EventScript_Man")
}
internal object DewfordTown_House2_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(DewfordTown_House2.BrawlySoCool)
}
internal val DewfordTown_House2Scripts: Map<String, Script> =
mapOf(
"DewfordTown_House2_EventScript_Man" to DewfordTown_House2_EventScript_Man,
"DewfordTown_House2_EventScript_Boy" to DewfordTown_House2_EventScript_Boy,
)
@@ -0,0 +1,40 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.DewfordTown_PokemonCenter_1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* setvar VAR_0x800B, LOCALID_DEWFORD_NURSE
* call Common_EventScript_PkmnCenterNurse
* waitmessage
* waitbuttonpress
* release
* end
* ```
*/
internal object DewfordTown_PokemonCenter_1F_EventScript_Nurse : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port DewfordTown_PokemonCenter_1F_EventScript_Nurse")
}
internal object DewfordTown_PokemonCenter_1F_EventScript_PokefanF : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(DewfordTown_PokemonCenter_1F.StoneCavern)
}
internal object DewfordTown_PokemonCenter_1F_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(DewfordTown_PokemonCenter_1F.FaintedMonCanUseHM)
}
internal val DewfordTown_PokemonCenter_1FScripts: Map<String, Script> =
mapOf(
"DewfordTown_PokemonCenter_1F_EventScript_Nurse" to
DewfordTown_PokemonCenter_1F_EventScript_Nurse,
"DewfordTown_PokemonCenter_1F_EventScript_PokefanF" to
DewfordTown_PokemonCenter_1F_EventScript_PokefanF,
"DewfordTown_PokemonCenter_1F_EventScript_Man" to
DewfordTown_PokemonCenter_1F_EventScript_Man,
)
@@ -0,0 +1,25 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.EverGrandeCity
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object EverGrandeCity_EventScript_VictoryRoadSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(EverGrandeCity.EnteringVictoryRoad)
}
internal object EverGrandeCity_EventScript_CitySign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(EverGrandeCity.CitySign)
}
internal object EverGrandeCity_EventScript_PokemonLeagueSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(EverGrandeCity.EnteringPokemonLeague)
}
internal val EverGrandeCityScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_EventScript_VictoryRoadSign" to EverGrandeCity_EventScript_VictoryRoadSign,
"EverGrandeCity_EventScript_CitySign" to EverGrandeCity_EventScript_CitySign,
"EverGrandeCity_EventScript_PokemonLeagueSign" to
EverGrandeCity_EventScript_PokemonLeagueSign,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_ELITE_4_DRAKE, EverGrandeCity_DrakesRoom_EventScript_PostBattleSpeech
* playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
* msgbox EverGrandeCity_DrakesRoom_Text_IntroSpeech, MSGBOX_DEFAULT
* trainerbattle_no_intro TRAINER_DRAKE, EverGrandeCity_DrakesRoom_Text_Defeat
* goto EverGrandeCity_DrakesRoom_EventScript_Defeated
* end
* ```
*/
internal object EverGrandeCity_DrakesRoom_EventScript_Drake : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_DrakesRoom_EventScript_Drake")
}
internal val EverGrandeCity_DrakesRoomScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_DrakesRoom_EventScript_Drake" to
EverGrandeCity_DrakesRoom_EventScript_Drake,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_ELITE_4_GLACIA, EverGrandeCity_GlaciasRoom_EventScript_PostBattleSpeech
* playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
* msgbox EverGrandeCity_GlaciasRoom_Text_IntroSpeech, MSGBOX_DEFAULT
* trainerbattle_no_intro TRAINER_GLACIA, EverGrandeCity_GlaciasRoom_Text_Defeat
* goto EverGrandeCity_GlaciasRoom_EventScript_Defeated
* end
* ```
*/
internal object EverGrandeCity_GlaciasRoom_EventScript_Glacia : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_GlaciasRoom_EventScript_Glacia")
}
internal val EverGrandeCity_GlaciasRoomScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_GlaciasRoom_EventScript_Glacia" to
EverGrandeCity_GlaciasRoom_EventScript_Glacia,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_ELITE_4_PHOEBE, EverGrandeCity_PhoebesRoom_EventScript_PostBattleSpeech
* playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
* msgbox EverGrandeCity_PhoebesRoom_Text_IntroSpeech, MSGBOX_DEFAULT
* trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_Defeat
* goto EverGrandeCity_PhoebesRoom_EventScript_Defeated
* end
* ```
*/
internal object EverGrandeCity_PhoebesRoom_EventScript_Phoebe : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_PhoebesRoom_EventScript_Phoebe")
}
internal val EverGrandeCity_PhoebesRoomScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_PhoebesRoom_EventScript_Phoebe" to
EverGrandeCity_PhoebesRoom_EventScript_Phoebe,
)
@@ -0,0 +1,67 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.EverGrandeCity_PokemonCenter_1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* setvar VAR_0x800B, LOCALID_EVER_GRANDE_NURSE
* call Common_EventScript_PkmnCenterNurse
* waitmessage
* waitbuttonpress
* release
* end
* ```
*/
internal object EverGrandeCity_PokemonCenter_1F_EventScript_Nurse : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_PokemonCenter_1F_EventScript_Nurse")
}
internal object EverGrandeCity_PokemonCenter_1F_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(EverGrandeCity_PokemonCenter_1F.LeagueAfterVictoryRoad)
}
internal object EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(EverGrandeCity_PokemonCenter_1F.BelieveInYourPokemon)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox EverGrandeCity_PokemonCenter_1F_Text_ScottHappyForYou, MSGBOX_DEFAULT
* closemessage
* call_if_eq VAR_FACING, DIR_NORTH, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExitNorth
* call_if_eq VAR_FACING, DIR_EAST, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
* call_if_eq VAR_FACING, DIR_WEST, EverGrandeCity_PokemonCenter_1F_EventScript_ScottExit
* addvar VAR_SCOTT_STATE, 1
* setflag FLAG_MET_SCOTT_IN_EVERGRANDE
* playse SE_EXIT
* waitse
* removeobject LOCALID_EVER_GRANDE_SCOTT
* release
* end
* ```
*/
internal object EverGrandeCity_PokemonCenter_1F_EventScript_Scott : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_PokemonCenter_1F_EventScript_Scott")
}
internal val EverGrandeCity_PokemonCenter_1FScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_PokemonCenter_1F_EventScript_Nurse" to
EverGrandeCity_PokemonCenter_1F_EventScript_Nurse,
"EverGrandeCity_PokemonCenter_1F_EventScript_Woman" to
EverGrandeCity_PokemonCenter_1F_EventScript_Woman,
"EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM" to
EverGrandeCity_PokemonCenter_1F_EventScript_ExpertM,
"EverGrandeCity_PokemonCenter_1F_EventScript_Scott" to
EverGrandeCity_PokemonCenter_1F_EventScript_Scott,
)
@@ -0,0 +1,82 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* setvar VAR_0x800B, LOCALID_LEAGUE_NURSE
* call Common_EventScript_PkmnCenterNurse
* waitmessage
* waitbuttonpress
* release
* end
* ```
*/
internal object EverGrandeCity_PokemonLeague_1F_EventScript_Nurse : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_PokemonLeague_1F_EventScript_Nurse")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message gText_HowMayIServeYou
* waitmessage
* pokemart EverGrandeCity_PokemonLeague_1F_Pokemart
* msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object EverGrandeCity_PokemonLeague_1F_EventScript_Clerk : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_PokemonLeague_1F_EventScript_Clerk")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_ENTERED_ELITE_FOUR, EverGrandeCity_PokemonLeague_1F_EventScript_GoForth
* getplayerxy VAR_TEMP_0, VAR_TEMP_1
* call_if_ge VAR_TEMP_0, 11, EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromRight
* call_if_le VAR_TEMP_0, 8, EverGrandeCity_PokemonLeague_1F_EventScript_PlayerMoveToFrontFromLeft
* message EverGrandeCity_PokemonLeague_1F_Text_MustHaveAllGymBadges
* waitmessage
* delay 120
* goto_if_unset FLAG_BADGE06_GET, EverGrandeCity_PokemonLeague_1F_EventScript_NotAllBadges
* closemessage
* applymovement LOCALID_LEAGUE_GUARD_1, EverGrandeCity_PokemonLeague_1F_Movement_LeftGuardOutOfWay
* applymovement LOCALID_LEAGUE_GUARD_2, EverGrandeCity_PokemonLeague_1F_Movement_RightGuardOutOfWay
* waitmovement 0
* delay 10
* playfanfare MUS_OBTAIN_BADGE
* message EverGrandeCity_PokemonLeague_1F_Text_GoForth
* waitmessage
* waitfanfare
* closemessage
* copyobjectxytoperm LOCALID_LEAGUE_GUARD_1
* copyobjectxytoperm LOCALID_LEAGUE_GUARD_2
* setflag FLAG_ENTERED_ELITE_FOUR
* releaseall
* end
* ```
*/
internal object EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard")
}
internal val EverGrandeCity_PokemonLeague_1FScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_PokemonLeague_1F_EventScript_Nurse" to
EverGrandeCity_PokemonLeague_1F_EventScript_Nurse,
"EverGrandeCity_PokemonLeague_1F_EventScript_Clerk" to
EverGrandeCity_PokemonLeague_1F_EventScript_Clerk,
"EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard" to
EverGrandeCity_PokemonLeague_1F_EventScript_DoorGuard,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_ELITE_4_SIDNEY, EverGrandeCity_SidneysRoom_EventScript_PostBattleSpeech
* playbgm MUS_ENCOUNTER_ELITE_FOUR, FALSE
* msgbox EverGrandeCity_SidneysRoom_Text_IntroSpeech, MSGBOX_DEFAULT
* trainerbattle_no_intro TRAINER_SIDNEY, EverGrandeCity_SidneysRoom_Text_Defeat
* goto EverGrandeCity_SidneysRoom_EventScript_Defeated
* end
* ```
*/
internal object EverGrandeCity_SidneysRoom_EventScript_Sidney : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port EverGrandeCity_SidneysRoom_EventScript_Sidney")
}
internal val EverGrandeCity_SidneysRoomScripts: Map<String, Script> =
mapOf(
"EverGrandeCity_SidneysRoom_EventScript_Sidney" to
EverGrandeCity_SidneysRoom_EventScript_Sidney,
)
@@ -0,0 +1,68 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FallarborTown
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object FallarborTown_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FallarborTown.MyPreciousAzurill)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_EventScript_ExpertMNormal
* msgbox FallarborTown_Text_ShadyCharactersCozmosHome, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FallarborTown_EventScript_ExpertM : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FallarborTown_EventScript_ExpertM")
}
internal object FallarborTown_EventScript_Gentleman : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FallarborTown.HaveYouChallengedFlannery)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_AZURILL, CRY_MODE_NORMAL
* msgbox FallarborTown_Text_Azurill, MSGBOX_DEFAULT
* waitmoncry
* release
* end
* ```
*/
internal object FallarborTown_EventScript_Azurill : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FallarborTown_EventScript_Azurill")
}
internal object FallarborTown_EventScript_BattleTentSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(FallarborTown.BattleTentSign)
}
internal object FallarborTown_EventScript_TownSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(FallarborTown.TownSign)
}
internal object FallarborTown_EventScript_MoveTutorSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(FallarborTown.MoveTutorSign)
}
internal val FallarborTownScripts: Map<String, Script> =
mapOf(
"FallarborTown_EventScript_Girl" to FallarborTown_EventScript_Girl,
"FallarborTown_EventScript_ExpertM" to FallarborTown_EventScript_ExpertM,
"FallarborTown_EventScript_Gentleman" to FallarborTown_EventScript_Gentleman,
"FallarborTown_EventScript_Azurill" to FallarborTown_EventScript_Azurill,
"FallarborTown_EventScript_BattleTentSign" to FallarborTown_EventScript_BattleTentSign,
"FallarborTown_EventScript_TownSign" to FallarborTown_EventScript_TownSign,
"FallarborTown_EventScript_MoveTutorSign" to FallarborTown_EventScript_MoveTutorSign,
)
@@ -0,0 +1,92 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FallarborTown_BattleTentLobby
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* fallarbortent_getprize
* goto_if_ne VAR_RESULT, ITEM_NONE, FallarborTown_BattleTentLobby_EventScript_PrizeWaiting
* special SavePlayerParty
* msgbox FallarborTown_BattleTentLobby_Text_WelcomeToBattleTent, MSGBOX_DEFAULT
* message FallarborTown_BattleTentLobby_Text_TakeChallenge
* waitmessage
* multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
* switch VAR_RESULT
* case 0, FallarborTown_BattleTentLobby_EventScript_TryEnterChallenge
* case 1, FallarborTown_BattleTentLobby_EventScript_ExplainChallenge
* case 2, FallarborTown_BattleTentLobby_EventScript_CancelChallenge
* case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_CancelChallenge
* ```
*/
internal object FallarborTown_BattleTentLobby_EventScript_Attendant : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_BattleTentLobby_EventScript_Attendant")
}
internal object FallarborTown_BattleTentLobby_EventScript_Hiker : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FallarborTown_BattleTentLobby.CameToCampOut)
}
internal object FallarborTown_BattleTentLobby_EventScript_LittleBoy : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FallarborTown_BattleTentLobby.MakeThinkImJustKid)
}
internal object FallarborTown_BattleTentLobby_EventScript_Lass : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FallarborTown_BattleTentLobby.FallarborTentMyFavorite)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_MET_SCOTT_IN_FALLARBOR, FallarborTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo
* msgbox FallarborTown_BattleTentLobby_Text_ScottLookingForSomeone, MSGBOX_DEFAULT
* addvar VAR_SCOTT_STATE, 1
* setflag FLAG_MET_SCOTT_IN_FALLARBOR
* release
* end
* ```
*/
internal object FallarborTown_BattleTentLobby_EventScript_Scott : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_BattleTentLobby_EventScript_Scott")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* msgbox BattleFrontier_BattleArenaLobby_Text_RulesAreListed, MSGBOX_DEFAULT
* goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
* end
* ```
*/
internal object FallarborTown_BattleTentLobby_EventScript_RulesBoard : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_BattleTentLobby_EventScript_RulesBoard")
}
internal val FallarborTown_BattleTentLobbyScripts: Map<String, Script> =
mapOf(
"FallarborTown_BattleTentLobby_EventScript_Attendant" to
FallarborTown_BattleTentLobby_EventScript_Attendant,
"FallarborTown_BattleTentLobby_EventScript_Hiker" to
FallarborTown_BattleTentLobby_EventScript_Hiker,
"FallarborTown_BattleTentLobby_EventScript_LittleBoy" to
FallarborTown_BattleTentLobby_EventScript_LittleBoy,
"FallarborTown_BattleTentLobby_EventScript_Lass" to
FallarborTown_BattleTentLobby_EventScript_Lass,
"FallarborTown_BattleTentLobby_EventScript_Scott" to
FallarborTown_BattleTentLobby_EventScript_Scott,
"FallarborTown_BattleTentLobby_EventScript_RulesBoard" to
FallarborTown_BattleTentLobby_EventScript_RulesBoard,
)
@@ -0,0 +1,47 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_RECEIVED_TM_RETURN, FallarborTown_CozmosHouse_EventScript_GaveMeteorite
* checkitem ITEM_METEORITE
* goto_if_eq VAR_RESULT, TRUE, FallarborTown_CozmosHouse_EventScript_PlayerHasMeteorite
* msgbox FallarborTown_CozmosHouse_Text_MeteoriteWillNeverBeMineNow, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FallarborTown_CozmosHouse_EventScript_ProfCozmo : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_CozmosHouse_EventScript_ProfCozmo")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_RECEIVED_TM_RETURN, FallarborTown_CozmosHouse_EventScript_CozmoIsHappy
* goto_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, FallarborTown_CozmosHouse_EventScript_CozmoIsSad
* msgbox FallarborTown_CozmosHouse_Text_CozmoWentToMeteorFalls, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FallarborTown_CozmosHouse_EventScript_CozmosWife : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_CozmosHouse_EventScript_CozmosWife")
}
internal val FallarborTown_CozmosHouseScripts: Map<String, Script> =
mapOf(
"FallarborTown_CozmosHouse_EventScript_ProfCozmo" to
FallarborTown_CozmosHouse_EventScript_ProfCozmo,
"FallarborTown_CozmosHouse_EventScript_CozmosWife" to
FallarborTown_CozmosHouse_EventScript_CozmosWife,
)
@@ -0,0 +1,81 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FallarborTown_Mart
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message gText_HowMayIServeYou
* waitmessage
* pokemart FallarborTown_Mart_Pokemart
* msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FallarborTown_Mart_EventScript_Clerk : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FallarborTown_Mart_EventScript_Clerk")
}
internal object FallarborTown_Mart_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FallarborTown_Mart.DecidingSkittyEvolve)
}
internal object FallarborTown_Mart_EventScript_PokefanM : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FallarborTown_Mart.SellNuggetIFound)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_SKITTY, CRY_MODE_NORMAL
* msgbox FallarborTown_Mart_Text_Skitty, MSGBOX_DEFAULT
* waitmoncry
* release
* end
* ```
*/
internal object FallarborTown_Mart_EventScript_Skitty : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FallarborTown_Mart_EventScript_Skitty")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_MOVE_TUTOR_TAUGHT_METRONOME, MoveTutor_EventScript_MetronomeTaught
* msgbox MoveTutor_Text_MetronomeTeach, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_MetronomeDeclined
* call MoveTutor_EventScript_CanOnlyBeLearnedOnce
* goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_MetronomeDeclined
* msgbox MoveTutor_Text_MetronomeWhichMon, MSGBOX_DEFAULT
* setvar VAR_0x8005, TUTOR_MOVE_METRONOME
* call MoveTutor_EventScript_OpenPartyMenu
* goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_MetronomeDeclined
* setflag FLAG_MOVE_TUTOR_TAUGHT_METRONOME
* goto MoveTutor_EventScript_MetronomeTaught
* end
* ```
*/
internal object FallarborTown_Mart_EventScript_MetronomeTutor : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_Mart_EventScript_MetronomeTutor")
}
internal val FallarborTown_MartScripts: Map<String, Script> =
mapOf(
"FallarborTown_Mart_EventScript_Clerk" to FallarborTown_Mart_EventScript_Clerk,
"FallarborTown_Mart_EventScript_Woman" to FallarborTown_Mart_EventScript_Woman,
"FallarborTown_Mart_EventScript_PokefanM" to FallarborTown_Mart_EventScript_PokefanM,
"FallarborTown_Mart_EventScript_Skitty" to FallarborTown_Mart_EventScript_Skitty,
"FallarborTown_Mart_EventScript_MetronomeTutor" to
FallarborTown_Mart_EventScript_MetronomeTutor,
)
@@ -0,0 +1,28 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lockall
* applymovement LOCALID_MOVE_RELEARNER, Common_Movement_FacePlayer
* waitmovement 0
* goto_if_set FLAG_TEMP_1, FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove
* msgbox FallarborTown_MoveRelearnersHouse_Text_ImTheMoveTutor, MSGBOX_DEFAULT
* setflag FLAG_TEMP_1
* goto FallarborTown_MoveRelearnersHouse_EventScript_AskTeachMove
* end
* ```
*/
internal object FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner")
}
internal val FallarborTown_MoveRelearnersHouseScripts: Map<String, Script> =
mapOf(
"FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner" to
FallarborTown_MoveRelearnersHouse_EventScript_MoveRelearner,
)
@@ -0,0 +1,61 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FallarborTown_PokemonCenter_1F
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* setvar VAR_0x800B, LOCALID_FALLARBOR_NURSE
* call Common_EventScript_PkmnCenterNurse
* waitmessage
* waitbuttonpress
* release
* end
* ```
*/
internal object FallarborTown_PokemonCenter_1F_EventScript_Nurse : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_PokemonCenter_1F_EventScript_Nurse")
}
internal object FallarborTown_PokemonCenter_1F_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FallarborTown_PokemonCenter_1F.FossilManiacEdgeOfTown)
}
internal object FallarborTown_PokemonCenter_1F_EventScript_ExpertM : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FallarborTown_PokemonCenter_1F.PlantHardyTrees)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox FallarborTown_PokemonCenter_1F_Text_LanetteGreeting, MSGBOX_DEFAULT
* closemessage
* switch VAR_FACING
* case DIR_NORTH, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitNorth
* case DIR_WEST, FallarborTown_PokemonCenter_1F_EventScript_LanetteExitWest
* end
* ```
*/
internal object FallarborTown_PokemonCenter_1F_EventScript_Lanette : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FallarborTown_PokemonCenter_1F_EventScript_Lanette")
}
internal val FallarborTown_PokemonCenter_1FScripts: Map<String, Script> =
mapOf(
"FallarborTown_PokemonCenter_1F_EventScript_Nurse" to
FallarborTown_PokemonCenter_1F_EventScript_Nurse,
"FallarborTown_PokemonCenter_1F_EventScript_Girl" to
FallarborTown_PokemonCenter_1F_EventScript_Girl,
"FallarborTown_PokemonCenter_1F_EventScript_ExpertM" to
FallarborTown_PokemonCenter_1F_EventScript_ExpertM,
"FallarborTown_PokemonCenter_1F_EventScript_Lanette" to
FallarborTown_PokemonCenter_1F_EventScript_Lanette,
)
@@ -0,0 +1,48 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* msgbox FarawayIsland_Entrance_Text_SailorReturn, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, FarawayIsland_Entrance_EventScript_AsYouLike
* msgbox EventTicket_Text_SailHome, MSGBOX_DEFAULT
* closemessage
* applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterDown
* waitmovement 0
* delay 30
* hideobjectat LOCALID_FARAWAY_ISLAND_SAILOR, MAP_FARAWAY_ISLAND_ENTRANCE
* setvar VAR_0x8004, LOCALID_FARAWAY_ISLAND_SS_TIDAL
* call Common_EventScript_FerryDepartIsland
* warp MAP_LILYCOVE_CITY_HARBOR, 8, 11
* waitstate
* release
* end
* ```
*/
internal object FarawayIsland_Entrance_EventScript_Sailor : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FarawayIsland_Entrance_EventScript_Sailor")
}
/**
* Not ported yet. Decomp body:
* ```
* msgbox FarawayIsland_Entrance_Text_Sign, MSGBOX_SIGN
* end
* ```
*/
internal object FarawayIsland_Entrance_EventScript_Sign : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FarawayIsland_Entrance_EventScript_Sign")
}
internal val FarawayIsland_EntranceScripts: Map<String, Script> =
mapOf(
"FarawayIsland_Entrance_EventScript_Sailor" to FarawayIsland_Entrance_EventScript_Sailor,
"FarawayIsland_Entrance_EventScript_Sign" to FarawayIsland_Entrance_EventScript_Sign,
)
@@ -0,0 +1,46 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* applymovement LOCALID_FARAWAY_ISLAND_MEW, FarawayIsland_Interior_Movement_MewAppear
* waitmovement 0
* setvar VAR_0x8004, 0
* special SetMewAboveGrass
* message FarawayIsland_Interior_Text_Mew
* waitse
* playmoncry SPECIES_MEW, CRY_MODE_ENCOUNTER
* call_if_eq VAR_FACING, DIR_NORTH, FarawayIsland_Interior_EventScript_FoundMewNorth
* call_if_eq VAR_FACING, DIR_SOUTH, FarawayIsland_Interior_EventScript_FoundMewSouth
* call_if_eq VAR_FACING, DIR_WEST, FarawayIsland_Interior_EventScript_FoundMewWest
* call_if_eq VAR_FACING, DIR_EAST, FarawayIsland_Interior_EventScript_FoundMewEast
* special DestroyMewEmergingGrassSprite
* delay 40
* waitmoncry
* seteventmon SPECIES_MEW, 30
* setflag FLAG_SYS_CTRL_OBJ_DELETE
* special BattleSetup_StartLegendaryBattle
* clearflag FLAG_SYS_CTRL_OBJ_DELETE
* specialvar VAR_RESULT, GetBattleOutcome
* goto_if_eq VAR_RESULT, B_OUTCOME_WON, FarawayIsland_Interior_EventScript_MewDefeated
* goto_if_eq VAR_RESULT, B_OUTCOME_RAN, FarawayIsland_Interior_EventScript_PlayerOrMewRan
* goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, FarawayIsland_Interior_EventScript_PlayerOrMewRan
* goto_if_eq VAR_RESULT, B_OUTCOME_MON_TELEPORTED, FarawayIsland_Interior_EventScript_PlayerOrMewRan
* setflag FLAG_CAUGHT_MEW
* release
* end
* ```
*/
internal object FarawayIsland_Interior_EventScript_Mew : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FarawayIsland_Interior_EventScript_Mew")
}
internal val FarawayIsland_InteriorScripts: Map<String, Script> =
mapOf(
"FarawayIsland_Interior_EventScript_Mew" to FarawayIsland_Interior_EventScript_Mew,
)
@@ -0,0 +1,55 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_TM_TOXIC
* end
* ```
*/
internal object FieryPath_EventScript_ItemTMToxic : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FieryPath_EventScript_ItemTMToxic")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_unset FLAG_BADGE04_GET, EventScript_CantStrength
* goto_if_set FLAG_SYS_USE_STRENGTH, EventScript_CheckActivatedBoulder
* checkpartymove MOVE_STRENGTH
* goto_if_eq VAR_RESULT, PARTY_SIZE, EventScript_CantStrength
* setfieldeffectargument 0, VAR_RESULT
* msgbox Text_WantToStrength, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, EventScript_CancelStrength
* closemessage
* dofieldeffect FLDEFF_USE_STRENGTH
* waitstate
* goto EventScript_ActivateStrength
* end
* ```
*/
internal object EventScript_StrengthBoulder : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port EventScript_StrengthBoulder")
}
/**
* Not ported yet. Decomp body:
* ```
* finditem ITEM_FIRE_STONE
* end
* ```
*/
internal object FieryPath_EventScript_ItemFireStone : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FieryPath_EventScript_ItemFireStone")
}
internal val FieryPathScripts: Map<String, Script> =
mapOf(
"FieryPath_EventScript_ItemTMToxic" to FieryPath_EventScript_ItemTMToxic,
"EventScript_StrengthBoulder" to EventScript_StrengthBoulder,
"FieryPath_EventScript_ItemFireStone" to FieryPath_EventScript_ItemFireStone,
)
@@ -0,0 +1,77 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FortreeCity
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object FortreeCity_EventScript_Man : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FortreeCity.SawGiganticPokemonInSky)
}
internal object FortreeCity_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FortreeCity.TreesGrowByDrinkingRainwater)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_KECLEON_FLED_FORTREE, FortreeCity_EventScript_WomanGymAccessible
* msgbox FortreeCity_Text_SomethingBlockingGym, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_EventScript_Woman : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_EventScript_Woman")
}
internal object FortreeCity_EventScript_Boy : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FortreeCity.BugPokemonComeThroughWindow)
}
internal object FortreeCity_EventScript_OldMan : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FortreeCity.EveryoneHealthyAndLively)
}
internal object FortreeCity_EventScript_GameboyKid : Script {
override suspend fun run(ctx: ScriptContext) = ctx.say(FortreeCity.PokemonThatEvolveWhenTraded)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* checkitem ITEM_DEVON_SCOPE
* goto_if_eq VAR_RESULT, TRUE, FortreeCity_EventScript_AskUseDevonScope
* msgbox FortreeCity_Text_SomethingUnseeable, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_EventScript_Kecleon : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_EventScript_Kecleon")
}
internal object FortreeCity_EventScript_CitySign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(FortreeCity.CitySign)
}
internal object FortreeCity_EventScript_GymSign : Script {
override suspend fun run(ctx: ScriptContext) = ctx.sign(FortreeCity.GymSign)
}
internal val FortreeCityScripts: Map<String, Script> =
mapOf(
"FortreeCity_EventScript_Man" to FortreeCity_EventScript_Man,
"FortreeCity_EventScript_Girl" to FortreeCity_EventScript_Girl,
"FortreeCity_EventScript_Woman" to FortreeCity_EventScript_Woman,
"FortreeCity_EventScript_Boy" to FortreeCity_EventScript_Boy,
"FortreeCity_EventScript_OldMan" to FortreeCity_EventScript_OldMan,
"FortreeCity_EventScript_GameboyKid" to FortreeCity_EventScript_GameboyKid,
"FortreeCity_EventScript_Kecleon" to FortreeCity_EventScript_Kecleon,
"FortreeCity_EventScript_CitySign" to FortreeCity_EventScript_CitySign,
"FortreeCity_EventScript_GymSign" to FortreeCity_EventScript_GymSign,
)
@@ -0,0 +1,63 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FortreeCity_DecorationShop
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
internal object FortreeCity_DecorationShop_EventScript_PokefanM : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FortreeCity_DecorationShop.MerchandiseSentToPC)
}
internal object FortreeCity_DecorationShop_EventScript_Girl : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FortreeCity_DecorationShop.BuyingDeskForDolls)
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message gText_HowMayIServeYou
* waitmessage
* pokemartdecoration FortreeCity_DecorationShop_PokemartDecor_Desks
* msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_DecorationShop_EventScript_ClerkDesks : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_DecorationShop_EventScript_ClerkDesks")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* message gText_HowMayIServeYou
* waitmessage
* pokemartdecoration FortreeCity_DecorationShop_PokemartDecor_Chairs
* msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_DecorationShop_EventScript_ClerkChairs : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_DecorationShop_EventScript_ClerkChairs")
}
internal val FortreeCity_DecorationShopScripts: Map<String, Script> =
mapOf(
"FortreeCity_DecorationShop_EventScript_PokefanM" to
FortreeCity_DecorationShop_EventScript_PokefanM,
"FortreeCity_DecorationShop_EventScript_Girl" to
FortreeCity_DecorationShop_EventScript_Girl,
"FortreeCity_DecorationShop_EventScript_ClerkDesks" to
FortreeCity_DecorationShop_EventScript_ClerkDesks,
"FortreeCity_DecorationShop_EventScript_ClerkChairs" to
FortreeCity_DecorationShop_EventScript_ClerkChairs,
)
@@ -0,0 +1,149 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_WINONA_1, FortreeCity_Gym_Text_WinonaIntro, FortreeCity_Gym_Text_WinonaDefeat, FortreeCity_Gym_EventScript_WinonaDefeated, NO_MUSIC
* specialvar VAR_RESULT, ShouldTryRematchBattle
* goto_if_eq VAR_RESULT, TRUE, FortreeCity_Gym_EventScript_WinonaRematch
* goto_if_unset FLAG_RECEIVED_TM_AERIAL_ACE, FortreeCity_Gym_EventScript_GiveAerialAce2
* msgbox FortreeCity_Gym_Text_WinonaPostBattle, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Winona : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Winona")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_JARED, FortreeCity_Gym_Text_JaredIntro, FortreeCity_Gym_Text_JaredDefeat
* msgbox FortreeCity_Gym_Text_JaredPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Jared : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Jared")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_FLINT, FortreeCity_Gym_Text_FlintIntro, FortreeCity_Gym_Text_FlintDefeat
* msgbox FortreeCity_Gym_Text_FlintPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Flint : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Flint")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_ASHLEY, FortreeCity_Gym_Text_AshleyIntro, FortreeCity_Gym_Text_AshleyDefeat
* msgbox FortreeCity_Gym_Text_AshleyPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Ashley : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Ashley")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_EDWARDO, FortreeCity_Gym_Text_EdwardoIntro, FortreeCity_Gym_Text_EdwardoDefeat
* msgbox FortreeCity_Gym_Text_EdwardoPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Edwardo : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Edwardo")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_DEFEATED_FORTREE_GYM, FortreeCity_Gym_EventScript_GymGuidePostVictory
* msgbox FortreeCity_Gym_Text_GymGuideAdvice, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_GymGuide : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_GymGuide")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_HUMBERTO, FortreeCity_Gym_Text_HumbertoIntro, FortreeCity_Gym_Text_HumbertoDefeat
* msgbox FortreeCity_Gym_Text_HumbertoPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Humberto : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Humberto")
}
/**
* Not ported yet. Decomp body:
* ```
* trainerbattle_single TRAINER_DARIUS, FortreeCity_Gym_Text_DariusIntro, FortreeCity_Gym_Text_DariusDefeat
* msgbox FortreeCity_Gym_Text_DariusPostBattle, MSGBOX_AUTOCLOSE
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_Darius : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_Gym_EventScript_Darius")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_BADGE06_GET, FortreeCity_Gym_EventScript_GymStatueCertified
* goto FortreeCity_Gym_EventScript_GymStatue
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_LeftGymStatue : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_Gym_EventScript_LeftGymStatue")
}
/**
* Not ported yet. Decomp body:
* ```
* lockall
* goto_if_set FLAG_BADGE06_GET, FortreeCity_Gym_EventScript_GymStatueCertified
* goto FortreeCity_Gym_EventScript_GymStatue
* end
* ```
*/
internal object FortreeCity_Gym_EventScript_RightGymStatue : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_Gym_EventScript_RightGymStatue")
}
internal val FortreeCity_GymScripts: Map<String, Script> =
mapOf(
"FortreeCity_Gym_EventScript_Winona" to FortreeCity_Gym_EventScript_Winona,
"FortreeCity_Gym_EventScript_Jared" to FortreeCity_Gym_EventScript_Jared,
"FortreeCity_Gym_EventScript_Flint" to FortreeCity_Gym_EventScript_Flint,
"FortreeCity_Gym_EventScript_Ashley" to FortreeCity_Gym_EventScript_Ashley,
"FortreeCity_Gym_EventScript_Edwardo" to FortreeCity_Gym_EventScript_Edwardo,
"FortreeCity_Gym_EventScript_GymGuide" to FortreeCity_Gym_EventScript_GymGuide,
"FortreeCity_Gym_EventScript_Humberto" to FortreeCity_Gym_EventScript_Humberto,
"FortreeCity_Gym_EventScript_Darius" to FortreeCity_Gym_EventScript_Darius,
"FortreeCity_Gym_EventScript_LeftGymStatue" to FortreeCity_Gym_EventScript_LeftGymStatue,
"FortreeCity_Gym_EventScript_RightGymStatue" to FortreeCity_Gym_EventScript_RightGymStatue,
)
@@ -0,0 +1,69 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.dialog.generated.hoenn.FortreeCity_House1
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_TradeCompleted
* setvar VAR_0x8008, INGAME_TRADE_PLUSLE
* copyvar VAR_0x8004, VAR_0x8008
* specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
* copyvar VAR_0x8009, VAR_RESULT
* msgbox FortreeCity_House1_Text_YouWillTradeWontYou, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, FortreeCity_House1_EventScript_DeclineTrade
* special ChoosePartyMon
* copyvar VAR_0x800A, VAR_0x8004
* goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, FortreeCity_House1_EventScript_DeclineTrade
* copyvar VAR_0x8005, VAR_0x800A
* specialvar VAR_RESULT, GetTradeSpecies
* copyvar VAR_0x800B, VAR_RESULT
* goto_if_ne VAR_RESULT, VAR_0x8009, FortreeCity_House1_EventScript_NotRequestedMon
* copyvar VAR_0x8004, VAR_0x8008
* copyvar VAR_0x8005, VAR_0x800A
* special CreateInGameTradePokemon
* special DoInGameTradeScene
* bufferspeciesname STR_VAR_1, VAR_0x8009
* msgbox FortreeCity_House1_Text_MonYouTakeCare, MSGBOX_DEFAULT
* setflag FLAG_FORTREE_NPC_TRADE_COMPLETED
* release
* end
* ```
*/
internal object FortreeCity_House1_EventScript_Trader : Script {
override suspend fun run(ctx: ScriptContext) = TODO("port FortreeCity_House1_EventScript_Trader")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* waitse
* playmoncry SPECIES_ZIGZAGOON, CRY_MODE_NORMAL
* msgbox FortreeCity_House1_Text_Zigzagoon, MSGBOX_DEFAULT
* waitmoncry
* release
* end
* ```
*/
internal object FortreeCity_House1_EventScript_Zigzagoon : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_House1_EventScript_Zigzagoon")
}
internal object FortreeCity_House1_EventScript_ExpertF : Script {
override suspend fun run(ctx: ScriptContext) =
ctx.say(FortreeCity_House1.TradingMemoriesWithOthers)
}
internal val FortreeCity_House1Scripts: Map<String, Script> =
mapOf(
"FortreeCity_House1_EventScript_Trader" to FortreeCity_House1_EventScript_Trader,
"FortreeCity_House1_EventScript_Zigzagoon" to FortreeCity_House1_EventScript_Zigzagoon,
"FortreeCity_House1_EventScript_ExpertF" to FortreeCity_House1_EventScript_ExpertF,
)
@@ -0,0 +1,69 @@
package de.fiereu.openmmo.server.game.script.generated.hoenn
import de.fiereu.openmmo.server.game.script.Script
import de.fiereu.openmmo.server.game.script.ScriptContext
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_RECEIVED_TM_HIDDEN_POWER, FortreeCity_House2_EventScript_ExplainHiddenPower
* call_if_unset FLAG_MET_HIDDEN_POWER_GIVER, FortreeCity_House2_EventScript_Greeting
* msgbox FortreeCity_House2_Text_CoinInWhichHand, MSGBOX_DEFAULT
* multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
* switch VAR_RESULT
* case 1, FortreeCity_House2_EventScript_WrongGuess
* msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand, MSGBOX_DEFAULT
* multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
* switch VAR_RESULT
* case 1, FortreeCity_House2_EventScript_WrongGuess
* msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand2, MSGBOX_DEFAULT
* multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
* switch VAR_RESULT
* case 0, FortreeCity_House2_EventScript_WrongGuess
* msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
* giveitem ITEM_TM_HIDDEN_POWER
* goto_if_eq VAR_RESULT, 0, Common_EventScript_ShowBagIsFull
* setflag FLAG_RECEIVED_TM_HIDDEN_POWER
* msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
* release
* end
* ```
*/
internal object FortreeCity_House2_EventScript_HiddenPowerGiver : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_House2_EventScript_HiddenPowerGiver")
}
/**
* Not ported yet. Decomp body:
* ```
* lock
* faceplayer
* goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK, MoveTutor_EventScript_SleepTalkTaught
* msgbox MoveTutor_Text_SleepTalkTeach, MSGBOX_YESNO
* goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SleepTalkDeclined
* call MoveTutor_EventScript_CanOnlyBeLearnedOnce
* goto_if_eq VAR_RESULT, NO, MoveTutor_EventScript_SleepTalkDeclined
* msgbox MoveTutor_Text_SleepTalkWhichMon, MSGBOX_DEFAULT
* setvar VAR_0x8005, TUTOR_MOVE_SLEEP_TALK
* call MoveTutor_EventScript_OpenPartyMenu
* goto_if_eq VAR_RESULT, 0, MoveTutor_EventScript_SleepTalkDeclined
* setflag FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK
* goto MoveTutor_EventScript_SleepTalkTaught
* end
* ```
*/
internal object FortreeCity_House2_EventScript_SleepTalkTutor : Script {
override suspend fun run(ctx: ScriptContext) =
TODO("port FortreeCity_House2_EventScript_SleepTalkTutor")
}
internal val FortreeCity_House2Scripts: Map<String, Script> =
mapOf(
"FortreeCity_House2_EventScript_HiddenPowerGiver" to
FortreeCity_House2_EventScript_HiddenPowerGiver,
"FortreeCity_House2_EventScript_SleepTalkTutor" to
FortreeCity_House2_EventScript_SleepTalkTutor,
)
Loaded 100 of 691 files, more files were not shown because too many files have changed in this diff. Show more