-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy patheztr_replacements.c
More file actions
308 lines (302 loc) · 12 KB
/
eztr_replacements.c
File metadata and controls
308 lines (302 loc) · 12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
//#include "apcommon.h"
//#include "eztr_api.h"
//#include "modding.h"
//EZTR_MSG_CALLBACK(cursed_spider_first_time_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_spiderhouse_reward") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content, "I have nothing to give you." EZTR_CC_NEWLINE "Go away." EZTR_CC_EVENT2 EZTR_CC_END);
// }
//}
//EZTR_ON_INIT void cursed_spider_first_time_text() {
// EZTR_Basic_ReplaceText(
// 0x910, // Text ID
// EZTR_STANDARD_TEXT_BOX_I, // Text box type
// 0, // Text box Y axis offset
// EZTR_ICON_NO_ICON, // Icon display
// 0x911, // Next message text ID
// EZTR_NO_VALUE, // First item rupee cost
// EZTR_NO_VALUE, // Second item rupee cose
// false,
// "Ah! Help me!" EZTR_CC_NEWLINE "I am not a monster!" EZTR_CC_NEWLINE
// "The spider's curse..." EZTR_CC_NEWLINE "It made me this way..." EZTR_CC_CONTINUE
// /*"I beg of you..." EZTR_CC_COLOR_RED "In here" EZTR_CC_COLOR_DEFAULT "...Find them" EZTR_CC_NEWLINE
// EZTR_CC_COLOR_RED "all" EZTR_CC_COLOR_DEFAULT "...The" EZTR_CC_COLOR_RED "gold" EZTR_CC_COLOR_DEFAULT "ones...The cursed" EZTR_CC_NEWLINE
// EZTR_CC_COLOR_RED "spiders" EZTR_CC_COLOR_DEFAULT "...Defeat them...Quickly!" EZTR_CC_EVENT2 EZTR_CC_END*/,
// cursed_spider_first_time_callback // Callback
// );
//}
//
//EZTR_MSG_CALLBACK(curse_spider_recurring_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_spiderhouse_reward") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Do not bother lifting the curse." EZTR_CC_NEWLINE
// "The mask is mine!" EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
//}
//EZTR_ON_INIT void cursed_spider_recurring_text() {
// EZTR_Basic_ReplaceText(
// 0x914,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// 0x915,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// EZTR_CC_COLOR_RED "In here" EZTR_CC_COLOR_DEFAULT "...The gold ones...The cursed" EZTR_CC_NEWLINE
// EZTR_CC_COLOR_RED "spiders" EZTR_CC_COLOR_DEFAULT "...Defeat them " EZTR_CC_COLOR_RED "all" EZTR_CC_COLOR_DEFAULT "...Make me" EZTR_CC_NEWLINE
// "normal...again..." EZTR_CC_EVENT2 EZTR_CC_END,
// curse_spider_recurring_callback
// );
//}
//
//EZTR_MSG_CALLBACK(ssh_guy_first_time_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_spiderhouse_reward") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "I am not giving you my mask." EZTR_CC_NEWLINE
// "It's mine and mine only!" EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
//}
//EZTR_ON_INIT void ssh_guy_first_time_text() {
// EZTR_Basic_ReplaceText(
// 0x91B,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "As soon as I calm down, I'm going" EZTR_CC_NEWLINE "to get rid of it." EZTR_CC_EVENT2 EZTR_CC_END,
// ssh_guy_first_time_callback
// );
//}
//
//EZTR_MSG_CALLBACK(ssh_guy_recurring_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_spiderhouse_reward") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Great, now my mask is gone. That" EZTR_CC_NEWLINE
// "mask was giving me infinite riches."
// EZTR_CC_BOX_BREAK "Now what?" EZTR_CC_EVENT2 EZTR_CC_END);
// }
//}
//EZTR_ON_INIT void ssh_guy_recurring_text() {
// EZTR_Basic_ReplaceText(
// 0x918,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "I've had enough of this..." EZTR_CC_BOX_BREAK
// "As soon as I get it together," EZTR_CC_NEWLINE
// "I'm going home." EZTR_CC_EVENT2 EZTR_CC_END,
// ssh_guy_recurring_callback
// );
//}
//EZTR_MSG_CALLBACK(chest_game_init_as_human_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content, "Oh! A customer! Unfortunately," EZTR_CC_NEWLINE "we are under construction." EZTR_CC_CONTINUE);
// }
// else if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 1) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Sorry, but we only accept" EZTR_CC_NEWLINE EZTR_CC_COLOR_RED "strong and burly" EZTR_CC_COLOR_DEFAULT "customers." EZTR_CC_CONTINUE
// );
// }
//}
//EZTR_ON_INIT void chest_game_init_as_human_text() {
// EZTR_Basic_ReplaceText(
// 0x76D,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// 0x771,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "Come in! Oh, is the kid collecting" EZTR_CC_NEWLINE
// "masks? How about it? Wanna" EZTR_CC_NEWLINE
// "play?" EZTR_CC_CONTINUE,
// NULL
// );
//}
//EZTR_MSG_CALLBACK(chest_game_init_as_deku_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content, "Oh! A customer! Unfortunately," EZTR_CC_NEWLINE "we are under construction." EZTR_CC_CONTINUE);
// }
// else if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 1) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Sorry, but we only accept" EZTR_CC_NEWLINE EZTR_CC_COLOR_RED "strong and burly" EZTR_CC_COLOR_DEFAULT "customers." EZTR_CC_CONTINUE
// );
// }
//}
//EZTR_ON_INIT void chest_game_init_as_deku_text() {
// EZTR_Basic_ReplaceText(
// 0x76C,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,//0x770,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "Oh, what a cute little customer!" EZTR_CC_NEWLINE
// "So, do you want to play?" EZTR_CC_CONTINUE,
// chest_game_init_as_deku_callback
// );
//}
//EZTR_MSG_CALLBACK(chest_game_init_as_goron_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content, "Oh! A customer! Unfortunately," EZTR_CC_NEWLINE "we are under construction." EZTR_CC_CONTINUE);
// }
//}
//EZTR_ON_INIT void chest_game_init_as_goron_text() {
// EZTR_Basic_ReplaceText(
// 0x76E,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,//0x772,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "Well, aren't you a fit fellow!" EZTR_CC_NEWLINE
// "Wanna play?" EZTR_CC_CONTINUE,
// chest_game_init_as_goron_callback
// );
//}
//EZTR_MSG_CALLBACK(chest_game_init_as_zora_callback) {
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content, "Oh! A customer! Unfortunately," EZTR_CC_NEWLINE "we are under construction." EZTR_CC_CONTINUE);
// }
// else if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 1) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Sorry, but we only accept" EZTR_CC_NEWLINE EZTR_CC_COLOR_RED "strong and burly" EZTR_CC_COLOR_DEFAULT "customers." EZTR_CC_CONTINUE
// );
// }
//}
//EZTR_ON_INIT void chest_game_init_as_zora_text() {
// EZTR_Basic_ReplaceText(
// 0x76F,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,//0x773,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "Well, hello there, handsome!" EZTR_CC_NEWLINE
// "Wanna play?" EZTR_CC_CONTINUE,
// chest_game_init_as_zora_callback
// );
//}
//EZTR_MSG_CALLBACK(chest_game_selection_as_human_callback) {
// Player* player = GET_PLAYER(play);
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "We'll be opening " EZTR_CC_COLOR_RED "after the carnival" EZTR_CC_COLOR_DEFAULT "." EZTR_CC_NEWLINE
// "We hope to see you!" EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
// else if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 1 && player->transformation == !PLAYER_FORM_GORON) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Looks like you're collecting " EZTR_CC_COLOR_RED "masks" EZTR_CC_COLOR_DEFAULT "!" EZTR_CC_NEWLINE
// "There's " EZTR_CC_COLOR_RED "one I like" EZTR_CC_COLOR_DEFAULT ", but I don't" EZTR_CC_NEWLINE
// "know if you have it..." EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
//}
//EZTR_ON_INIT void chest_game_selection_as_human_text() {
// EZTR_Basic_ReplaceText(
// 0x771,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "For you, it's " EZTR_CC_COLOR_PINK "20 Rupees" EZTR_CC_COLOR_DEFAULT "." EZTR_CC_NEWLINE
// EZTR_CC_NEWLINE
// EZTR_CC_COLOR_GREEN EZTR_CC_TWO_CHOICE "OK" EZTR_CC_NEWLINE
// "No thanks" EZTR_CC_EVENT2 EZTR_CC_END,
// chest_game_selection_as_human_callback
// );
//}
//
//EZTR_MSG_CALLBACK(chest_game_selection_as_deku_callback) {
// Player* player = GET_PLAYER(play);
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "We'll be opening " EZTR_CC_COLOR_RED "after the carnival" EZTR_CC_COLOR_DEFAULT "." EZTR_CC_NEWLINE
// "We hope to see you!" EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
// else if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 1 && player->transformation == !PLAYER_FORM_GORON) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "Which is unfortunate because you" EZTR_CC_NEWLINE
// "are so cute!!!" EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
//}
//EZTR_ON_INIT void chest_game_selection_as_deku_text() {
// EZTR_Basic_ReplaceText(
// 0x770,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "Which is unfortunate because you" EZTR_CC_NEWLINE
// "are so cute!!!" EZTR_CC_EVENT2 EZTR_CC_END,
// chest_game_selection_as_deku_callback
// );
//}
//
//EZTR_ON_INIT void chest_game_selection_as_goron_text() {
// EZTR_Basic_ReplaceText(
// 0x772,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "We'll be opening " EZTR_CC_COLOR_RED "after the carnival" EZTR_CC_COLOR_DEFAULT "." EZTR_CC_NEWLINE
// "We hope to see you!" EZTR_CC_EVENT2 EZTR_CC_END,
// NULL
// );
//}
//
//EZTR_MSG_CALLBACK(chest_game_selection_as_zora_callback) {
// Player* player = GET_PLAYER(play);
// if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 0) {
// EZTR_MsgSContent_Sprintf(buf->data.content,
// "We'll be opening " EZTR_CC_COLOR_RED "after the carnival" EZTR_CC_COLOR_DEFAULT "." EZTR_CC_NEWLINE
// "We hope to see you!" EZTR_CC_EVENT2 EZTR_CC_END
// );
// }
// else if ((s16) rando_get_slotdata_u32("shuffle_treasure_chest_game") == 1 && player->transformation == !PLAYER_FORM_GORON) {
// EZTR_MsgSContent_Sprintf(buf->data.content, "It's too bad... You look like my type..." EZTR_CC_EVENT2 EZTR_CC_END);
// }
//}
//EZTR_ON_INIT void chest_game_selection_as_zora_text() {
// EZTR_Basic_ReplaceText(
// 0x773,
// EZTR_STANDARD_TEXT_BOX_I,
// 0,
// EZTR_ICON_NO_ICON,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// EZTR_NO_VALUE,
// false,
// "It's too bad... You look like my type..." EZTR_CC_EVENT2 EZTR_CC_END,
// NULL
// );
//}