pokeemerald/src/mevent_scripts.c

192 lines
7.0 KiB
C
Raw Normal View History

2019-04-02 19:26:06 +02:00
#include "global.h"
2019-04-02 20:02:13 +02:00
#include "mevent_client.h"
2019-04-02 19:26:06 +02:00
#include "mevent_server.h"
const u8 gText_CanceledReadingCard[] = _("Canceled reading\nthe Card.");
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F2598[] = {
2019-04-02 19:35:38 +02:00
{.instr = 2, .parameter = 16},
{.instr = 4, .parameter = 0}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F25A8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 8, .parameter = 0},
{.instr = 3, .parameter = 0},
{.instr = 2, .parameter = 16},
{.instr = 4, .parameter = 0}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F25C8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 10}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F25D8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 11}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F25E8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 0}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F25F8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 2, .parameter = 22},
{.instr = 10, .parameter = 0},
{.instr = 2, .parameter = 25},
{.instr = 17, .parameter = 0},
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 2}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F2628[] = {
2019-04-02 19:35:38 +02:00
{.instr = 2, .parameter = 23},
{.instr = 9, .parameter = 0},
{.instr = 3, .parameter = 0},
{.instr = 2, .parameter = 16},
{.instr = 4, .parameter = 0}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F2650[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 7}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F2660[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 3}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F2670[] = {
2019-04-02 19:35:38 +02:00
{.instr = 13, .parameter = 0},
{.instr = 14, .parameter = 0},
{.instr = 3, .parameter = 0},
{.instr = 2, .parameter = 16},
{.instr = 4, .parameter = 0}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F2698[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 9}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F26A8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 5}
2019-04-02 19:26:06 +02:00
};
2019-04-02 20:02:13 +02:00
const struct mevent_client_cmd gUnknown_082F26B8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 2, .parameter = 21},
{.instr = 12, .parameter = 0},
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 14},
{.instr = 2, .parameter = 21},
{.instr = 12, .parameter = 0},
{.instr = 20, .parameter = 0},
{.instr = 1, .parameter = 13}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F26F8[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F25C8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x0a, .parameter = NULL},
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F25D8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x0b, .parameter = NULL},
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F2698},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x09, .parameter = NULL}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F2788[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x20, .parameter = gUnknown_082F26B8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 20, .flag = 0x1b, .parameter = gText_CanceledReadingCard},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x09, .parameter = NULL}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F27D0[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F2650},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x07, .parameter = NULL}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F2800[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x28, .parameter = gUnknown_082F2628},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 14, .flag = 0x00, .parameter = NULL},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x13, .parameter = NULL},
{.instr = 8, .flag = 0x00, .parameter = NULL},
{.instr = 4, .flag = 0x01, .parameter = gUnknown_082F27D0},
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F2660},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x03, .parameter = NULL}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F2884[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x30, .parameter = gUnknown_082F25F8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 13, .flag = 0x00, .parameter = NULL},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 15, .flag = 0x00, .parameter = NULL},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x02, .parameter = NULL}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F28E4[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x28, .parameter = gUnknown_082F2670},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x13, .parameter = NULL},
{.instr = 8, .flag = 0x00, .parameter = NULL},
{.instr = 4, .flag = 0x00, .parameter = gUnknown_082F2884},
{.instr = 3, .flag = 0x00, .parameter = gUnknown_082F2788}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd gUnknown_082F292C[] = {
2019-04-02 19:35:38 +02:00
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F26A8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x05, .parameter = NULL},
{.instr = 18, .flag = 0x10, .parameter = gUnknown_082F25E8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x14, .parameter = NULL},
{.instr = 0, .flag = 0x00, .parameter = NULL}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd s_mevent_wonder_news[] = {
2019-04-02 19:35:38 +02:00
{.instr = 27, .flag = 0x00, .parameter = NULL},
{.instr = 18, .flag = 0x20, .parameter = gUnknown_082F25A8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x11, .parameter = NULL},
{.instr = 5, .flag = 0x00, .parameter = NULL},
{.instr = 30, .flag = 0x00, .parameter = NULL},
{.instr = 4, .flag = 0x00, .parameter = gUnknown_082F26F8},
{.instr = 3, .flag = 0x00, .parameter = gUnknown_082F2800}
2019-04-02 19:26:06 +02:00
};
const struct mevent_cmd s_mevent_wonder_card[] = {
2019-04-02 19:35:38 +02:00
{.instr = 26, .flag = 0x00, .parameter = NULL},
{.instr = 28, .flag = 0x00, .parameter = NULL},
{.instr = 18, .flag = 0x20, .parameter = gUnknown_082F25A8},
{.instr = 1, .flag = 0x00, .parameter = NULL},
{.instr = 2, .flag = 0x11, .parameter = NULL},
{.instr = 5, .flag = 0x00, .parameter = NULL},
{.instr = 6, .flag = 0x00, .parameter = NULL},
{.instr = 4, .flag = 0x00, .parameter = gUnknown_082F26F8},
{.instr = 7, .flag = 0x00, .parameter = NULL},
{.instr = 4, .flag = 0x02, .parameter = gUnknown_082F28E4},
{.instr = 4, .flag = 0x00, .parameter = gUnknown_082F2884},
{.instr = 3, .flag = 0x00, .parameter = gUnknown_082F292C}
2019-04-02 19:26:06 +02:00
};