Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
pause_gfx.c
Go to the documentation of this file.
1#include "pause_common.h"
2#include "message_ids.h"
3#include "include_asset.h"
4
5#include "pause/image_143BF0.png.h"
6#include "pause/image_143FF0.png.h"
7#include "pause/world_map.png.h"
8#include "pause/world_map.png.h"
9#include "pause/spirits_bg.png.h"
10#include "pause/orbs.png.h"
11#include "pause/map_location.png.h"
12#include "pause/map_path_marker.png.h"
13#include "pause/map_arrows.png.h"
14#include "pause/banner_hp.png.h"
15#include "pause/banner_fp.png.h"
16#include "pause/banner_bp.png.h"
17#include "pause/banner_boots.png.h"
18#include "pause/banner_hammer.png.h"
19#include "pause/banner_star_energy.png.h"
20#include "pause/available.png.h"
21#include "pause/prompt_check_abilities.png.h"
22#include "pause/stats_bar.png.h"
23
24INCLUDE_IMG("pause/image_1439F0.png", pause_image_1439F0_png);
25INCLUDE_IMG("pause/image_143BF0.png", pause_image_143BF0_png);
26INCLUDE_IMG("pause/image_143FF0.png", pause_image_143FF0_png);
27INCLUDE_IMG("pause/world_map.png", pause_world_map_png);
28INCLUDE_PAL("pause/world_map.pal", pause_world_map_pal);
29INCLUDE_IMG("pause/spirits_bg.png", pause_spirits_bg_png);
30INCLUDE_PAL("pause/spirits_bg.pal", pause_spirits_bg_pal);
31INCLUDE_IMG("pause/orbs.png", pause_orbs_png);
32INCLUDE_IMG("pause/map_location.png", pause_map_location_png);
33INCLUDE_IMG("pause/map_path_marker.png", pause_map_path_marker_png);
34INCLUDE_IMG("pause/map_arrows.png", pause_arrows_png);
35#if !VERSION_PAL
36INCLUDE_IMG("pause/banner_hp.png", pause_banner_hp_png);
37INCLUDE_PAL("pause/banner_hp.pal", pause_banner_hp_pal);
38INCLUDE_IMG("pause/banner_fp.png", pause_banner_fp_png);
39INCLUDE_PAL("pause/banner_fp.pal", pause_banner_fp_pal);
40INCLUDE_IMG("pause/banner_bp.png", pause_banner_bp_png);
41INCLUDE_PAL("pause/banner_bp.pal", pause_banner_bp_pal);
42INCLUDE_IMG("pause/banner_boots.png", pause_banner_boots_png);
43INCLUDE_PAL("pause/banner_boots.pal", pause_banner_boots_pal);
44INCLUDE_IMG("pause/banner_hammer.png", pause_banner_hammer_png);
45INCLUDE_PAL("pause/banner_hammer.pal", pause_banner_hammer_pal);
46INCLUDE_IMG("pause/banner_star_energy.png", pause_banner_star_energy_png);
47INCLUDE_PAL("pause/banner_star_energy.pal", pause_banner_star_energy_pal);
48INCLUDE_IMG("pause/available.png", pause_available_png);
49INCLUDE_PAL("pause/available.pal", pause_available_pal);
50INCLUDE_IMG("pause/prompt_check_abilities.png", pause_prompt_check_abilities_png);
51INCLUDE_PAL("pause/prompt_check_abilities.pal", pause_prompt_check_abilities_pal);
52#endif
53INCLUDE_IMG("pause/stats_bar.png", pause_stats_bar_png);
54INCLUDE_PAL("pause/stats_bar.pal", pause_stats_bar_pal);
55
56#if VERSION_PAL
57extern u8 pause_prompt_check_abilities_png[];
58extern u8 pause_available_png[];
59extern u8 pause_available_pal[];
60extern u8 pause_banner_star_energy_png[];
61extern u8 pause_prompt_check_abilities_pal[];
62extern u8 pause_banner_hammer_png[];
63extern u8 pause_banner_hammer_pal[];
64extern u8 pause_banner_boots_png[];
65extern u8 pause_banner_hp_pal[];
66extern u8 pause_banner_hp_png[];
67extern u8 pause_banner_fp_pal[];
68extern u8 pause_banner_fp_png[];
69extern u8 pause_banner_bp_pal[];
70extern u8 pause_banner_bp_png[];
71extern u8 pause_banner_boots_pal[];
72extern u8 pause_banner_star_energy_pal[];
73#endif
74
76 gsDPPipeSync(),
77 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
78 gsDPSetCycleType(G_CYC_1CYCLE),
79 gsDPSetTexturePersp(G_TP_NONE),
80 gsDPSetTextureDetail(G_TD_CLAMP),
81 gsDPSetTextureLOD(G_TL_TILE),
82 gsDPSetTextureFilter(G_TF_POINT),
83 gsDPSetTextureConvert(G_TC_FILT),
84 gsDPSetTextureLUT(G_TT_RGBA16),
85 gsDPLoadTLUT_pal16(0, pause_banner_hp_pal),
86 gsDPLoadTextureTile_4b(pause_banner_hp_png, G_IM_FMT_CI, pause_banner_hp_png_width, pause_banner_hp_png_height, 0, 0, pause_banner_hp_png_width - 1, pause_banner_hp_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
87 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
88 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
89 gsSPClearGeometryMode(G_LIGHTING),
90 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
91 gsSPEndDisplayList(),
92};
93
95 gsDPPipeSync(),
96 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
97 gsDPSetCycleType(G_CYC_1CYCLE),
98 gsDPSetTexturePersp(G_TP_NONE),
99 gsDPSetTextureDetail(G_TD_CLAMP),
100 gsDPSetTextureLOD(G_TL_TILE),
101 gsDPSetTextureFilter(G_TF_POINT),
102 gsDPSetTextureConvert(G_TC_FILT),
103 gsDPSetTextureLUT(G_TT_RGBA16),
104 gsDPLoadTLUT_pal16(0, pause_banner_fp_pal),
105 gsDPLoadTextureTile_4b(pause_banner_fp_png, G_IM_FMT_CI, pause_banner_fp_png_width, pause_banner_fp_png_height, 0, 0, pause_banner_fp_png_width - 1, pause_banner_fp_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
106 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
107 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
108 gsSPClearGeometryMode(G_LIGHTING),
109 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
110 gsSPEndDisplayList(),
111};
112
114 gsDPPipeSync(),
115 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
116 gsDPSetCycleType(G_CYC_1CYCLE),
117 gsDPSetTexturePersp(G_TP_NONE),
118 gsDPSetTextureDetail(G_TD_CLAMP),
119 gsDPSetTextureLOD(G_TL_TILE),
120 gsDPSetTextureFilter(G_TF_POINT),
121 gsDPSetTextureConvert(G_TC_FILT),
122 gsDPSetTextureLUT(G_TT_RGBA16),
123 gsDPLoadTLUT_pal16(0, pause_banner_bp_pal),
124 gsDPLoadTextureTile_4b(pause_banner_bp_png, G_IM_FMT_CI, pause_banner_bp_png_width, pause_banner_bp_png_height, 0, 0, pause_banner_bp_png_width - 1, pause_banner_bp_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
125 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
126 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
127 gsSPClearGeometryMode(G_LIGHTING),
128 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
129 gsSPEndDisplayList(),
130};
131
133 gsDPPipeSync(),
134 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
135 gsDPSetCycleType(G_CYC_1CYCLE),
136 gsDPSetTexturePersp(G_TP_NONE),
137 gsDPSetTextureDetail(G_TD_CLAMP),
138 gsDPSetTextureLOD(G_TL_TILE),
139 gsDPSetTextureFilter(G_TF_POINT),
140 gsDPSetTextureConvert(G_TC_FILT),
141 gsDPSetTextureLUT(G_TT_RGBA16),
142 gsDPLoadTLUT_pal16(0, pause_banner_boots_pal),
143 gsDPLoadTextureTile_4b(pause_banner_boots_png, G_IM_FMT_CI, pause_banner_boots_png_width, pause_banner_boots_png_height, 0, 0, pause_banner_boots_png_width - 1, pause_banner_boots_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
144 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
145 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
146 gsSPClearGeometryMode(G_LIGHTING),
147 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
148 gsSPEndDisplayList(),
149};
150
152 gsDPPipeSync(),
153 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
154 gsDPSetCycleType(G_CYC_1CYCLE),
155 gsDPSetTexturePersp(G_TP_NONE),
156 gsDPSetTextureDetail(G_TD_CLAMP),
157 gsDPSetTextureLOD(G_TL_TILE),
158 gsDPSetTextureFilter(G_TF_POINT),
159 gsDPSetTextureConvert(G_TC_FILT),
160 gsDPSetTextureLUT(G_TT_RGBA16),
161 gsDPLoadTLUT_pal16(0, pause_banner_hammer_pal),
162 gsDPLoadTextureTile_4b(pause_banner_hammer_png, G_IM_FMT_CI, pause_banner_hammer_png_width, pause_banner_hammer_png_height, 0, 0, pause_banner_hammer_png_width - 1, pause_banner_hammer_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
163 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
164 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
165 gsSPClearGeometryMode(G_LIGHTING),
166 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
167 gsSPEndDisplayList(),
168};
169
171 gsDPPipeSync(),
172 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
173 gsDPSetCycleType(G_CYC_1CYCLE),
174 gsDPSetTexturePersp(G_TP_NONE),
175 gsDPSetTextureDetail(G_TD_CLAMP),
176 gsDPSetTextureLOD(G_TL_TILE),
177 gsDPSetTextureFilter(G_TF_POINT),
178 gsDPSetTextureConvert(G_TC_FILT),
179 gsDPSetTextureLUT(G_TT_RGBA16),
180 gsDPLoadTLUT_pal16(0, pause_banner_star_energy_pal),
181 gsDPLoadTextureTile_4b(pause_banner_star_energy_png, G_IM_FMT_CI, pause_banner_star_energy_png_width, pause_banner_star_energy_png_height, 0, 0, pause_banner_star_energy_png_width - 1, pause_banner_star_energy_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
182 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
183 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
184 gsSPClearGeometryMode(G_LIGHTING),
185 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
186 gsSPEndDisplayList(),
187};
188
190 gsDPPipeSync(),
191 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
192 gsDPSetCycleType(G_CYC_1CYCLE),
193 gsDPSetTexturePersp(G_TP_NONE),
194 gsDPSetTextureDetail(G_TD_CLAMP),
195 gsDPSetTextureLOD(G_TL_TILE),
196 gsDPSetTextureFilter(G_TF_POINT),
197 gsDPSetTextureConvert(G_TC_FILT),
198 gsDPSetTextureLUT(G_TT_RGBA16),
199 gsDPLoadTLUT_pal16(0, pause_stats_bar_pal),
200 gsDPLoadTextureTile_4b(pause_stats_bar_png, G_IM_FMT_CI, pause_stats_bar_png_width, pause_stats_bar_png_height, 0, 0, pause_stats_bar_png_width - 1, pause_stats_bar_png_height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_MIRROR | G_TX_WRAP, 8, 3, G_TX_NOLOD, G_TX_NOLOD),
201 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
202 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
203 gsSPClearGeometryMode(G_LIGHTING),
204 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
205 gsSPEndDisplayList(),
206};
207
209 gsDPPipeSync(),
210 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
211 gsDPSetCycleType(G_CYC_1CYCLE),
212 gsDPSetTexturePersp(G_TP_NONE),
213 gsDPSetTextureDetail(G_TD_CLAMP),
214 gsDPSetTextureLOD(G_TL_TILE),
215 gsDPSetTextureLUT(G_TT_RGBA16),
216 gsDPSetTextureFilter(G_TF_POINT),
217 gsDPSetTextureConvert(G_TC_FILT),
218 gsDPLoadTLUT_pal256(pause_world_map_pal),
219 gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2),
220 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
221 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
222 gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH),
223 gsSPEndDisplayList(),
224};
225
227 gsDPPipeSync(),
228 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
229 gsDPSetCycleType(G_CYC_1CYCLE),
230 gsDPSetTexturePersp(G_TP_NONE),
231 gsDPSetTextureDetail(G_TD_CLAMP),
232 gsDPSetTextureLOD(G_TL_TILE),
233 gsDPSetTextureFilter(G_TF_POINT),
234 gsDPSetTextureConvert(G_TC_FILT),
235 gsDPSetRenderMode(G_RM_CLD_SURF, G_RM_CLD_SURF2),
236 gsDPSetCombineMode(PM_CC_2F, PM_CC_2F),
237 gsDPSetTextureLUT(G_TT_NONE),
238 gsDPLoadTextureTile(pause_map_location_png, G_IM_FMT_IA, G_IM_SIZ_8b, 16, 16, 0, 0, 15, 15, 0, G_TX_CLAMP, G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
239 gsDPSetTextureLUT(G_TT_NONE),
240 gsDPLoadMultiTile(pause_map_path_marker_png, 0x100, 1, G_IM_FMT_IA, G_IM_SIZ_8b, 16, 16, 0, 0, 15, 15, 0, G_TX_CLAMP, G_TX_CLAMP, 4, 4, G_TX_NOLOD, G_TX_NOLOD),
241 gsSPClearGeometryMode(G_LIGHTING),
242 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
243 gsSPEndDisplayList(),
244};
245
247 gsDPPipeSync(),
248 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
249 gsDPSetCycleType(G_CYC_1CYCLE),
250 gsDPSetTexturePersp(G_TP_NONE),
251 gsDPSetTextureDetail(G_TD_CLAMP),
252 gsDPSetTextureLOD(G_TL_TILE),
253 gsDPSetTextureFilter(G_TF_POINT),
254 gsDPSetTextureConvert(G_TC_FILT),
255 gsDPSetTextureLUT(G_TT_NONE),
256 gsDPLoadTextureTile_4b(pause_arrows_png, G_IM_FMT_IA, pause_arrows_png_width, pause_arrows_png_height, 0, 0, pause_arrows_png_width - 1, pause_arrows_png_height - 1, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 4, 6, G_TX_NOLOD, G_TX_NOLOD),
257 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
258 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
259 gsSPClearGeometryMode(G_LIGHTING),
260 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
261 gsSPEndDisplayList(),
262};
263
265 gsDPPipeSync(),
266 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
267 gsDPSetCycleType(G_CYC_1CYCLE),
268 gsDPSetTexturePersp(G_TP_NONE),
269 gsDPSetTextureDetail(G_TD_CLAMP),
270 gsDPSetTextureLOD(G_TL_TILE),
271 gsDPSetTextureFilter(G_TF_POINT),
272 gsDPSetTextureConvert(G_TC_FILT),
273 gsDPSetTextureLUT(G_TT_NONE),
274 gsDPLoadTextureTile(pause_orbs_png, G_IM_FMT_RGBA, G_IM_SIZ_16b, pause_orbs_png_width, pause_orbs_png_height, 0, 0, pause_orbs_png_width - 1, pause_orbs_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 3, 5, G_TX_NOLOD, G_TX_NOLOD),
275 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
276 gsDPSetCombineMode(PM_CC_01, PM_CC_01),
277 gsSPClearGeometryMode(G_LIGHTING),
278 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
279 gsSPEndDisplayList(),
280};
281
283 gsDPPipeSync(),
284 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
285 gsDPSetCycleType(G_CYC_1CYCLE),
286 gsDPSetTexturePersp(G_TP_NONE),
287 gsDPSetTextureDetail(G_TD_CLAMP),
288 gsDPSetTextureLOD(G_TL_TILE),
289 gsDPSetTextureFilter(G_TF_POINT),
290 gsDPSetTextureConvert(G_TC_FILT),
291 gsDPSetTextureLUT(G_TT_RGBA16),
292 gsDPLoadTLUT_pal16(0, pause_available_pal),
293 gsDPLoadTextureTile_4b(pause_available_png, G_IM_FMT_CI, pause_available_png_width, pause_available_png_height, 0, 0, pause_available_png_width - 1, pause_available_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 6, 4, G_TX_NOLOD, G_TX_NOLOD),
294 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
295 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
296 gsSPClearGeometryMode(G_LIGHTING),
297 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
298 gsSPEndDisplayList(),
299};
300
301#if VERSION_IQUE
302#undef pause_prompt_check_abilities_png_height
303#define pause_prompt_check_abilities_png_height 16
304#endif
305
307 gsDPPipeSync(),
308 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
309 gsDPSetCycleType(G_CYC_1CYCLE),
310 gsDPSetTexturePersp(G_TP_NONE),
311 gsDPSetTextureDetail(G_TD_CLAMP),
312 gsDPSetTextureLOD(G_TL_TILE),
313 gsDPSetTextureFilter(G_TF_POINT),
314 gsDPSetTextureConvert(G_TC_FILT),
315 gsDPSetTextureLUT(G_TT_RGBA16),
316 gsDPLoadTLUT_pal16(0, pause_prompt_check_abilities_pal),
317 gsDPLoadTextureTile_4b(pause_prompt_check_abilities_png, G_IM_FMT_CI, pause_prompt_check_abilities_png_width, pause_prompt_check_abilities_png_height, 0, 0, pause_prompt_check_abilities_png_width - 1, pause_prompt_check_abilities_png_height - 1, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, 7, 4, G_TX_NOLOD, G_TX_NOLOD),
318 gsDPSetRenderMode(AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM), AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA | GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM)),
319 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
320 gsSPClearGeometryMode(G_LIGHTING),
321 gsSPSetGeometryMode(G_SHADE | G_CULL_BACK | G_SHADING_SMOOTH),
322 gsSPEndDisplayList(),
323};
324
326 gsDPPipeSync(),
327 gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON),
328 gsDPSetCycleType(G_CYC_1CYCLE),
329 gsDPSetTexturePersp(G_TP_NONE),
330 gsDPSetTextureDetail(G_TD_CLAMP),
331 gsDPSetTextureLOD(G_TL_TILE),
332 gsDPSetTextureLUT(G_TT_RGBA16),
333 gsDPSetTextureFilter(G_TF_AVERAGE),
334 gsDPSetTextureConvert(G_TC_FILT),
335 gsDPLoadTLUT_pal16(0, pause_spirits_bg_pal),
336 gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2),
337 gsDPSetCombineMode(G_CC_DECALRGBA, G_CC_DECALRGBA),
338 gsSPClearGeometryMode(G_CULL_BOTH | G_LIGHTING),
339 gsSPSetGeometryMode(G_SHADE | G_SHADING_SMOOTH),
340 gsSPEndDisplayList(),
341};
342
343#if VERSION_PAL
344u8 D_PAL_80271B10[] = { 0x71, 0x71, 0x78, 0x71 };
345u8 D_PAL_80271B14[] = { 0x6A, 0x6A, 0x72, 0x6A };
346u8 D_PAL_80271B18[] = { 0x10, 0x10, 0x0F, 0x10 };
347u8 D_PAL_80271B1C[] = { 0x3D, 0x3D, 0x3C, 0x3D };
348u8 D_PAL_80271B20[] = { 0x43, 0x43, 0x42, 0x43 };
349u8 D_PAL_80271B24[] = { 0x8F, 0x7F, 0x88, 0x7C };
350u8 D_PAL_80271B28[] = { 0x9B, 0x88, 0x93, 0x84 };
351u8 D_PAL_80271B2C[] = { 0x1A, 0x1F, 0x23, 0x18 };
352u8 D_PAL_80271B30[] = { 0x00, 0x26, 0x36, 0x1A };
353u8 D_PAL_80271B34[] = { 0x19, 0x19, 0x16, 0x12 };
354u8 D_PAL_80271B38[] = { 0x0C, 0x08, 0x0B, 0x08 };
355u8 D_PAL_80271B3C[] = { 0x85, 0x80, 0x80, 0x80 };
356u8 D_PAL_80271B40[] = { 0x8C, 0x96, 0x96, 0x96 };
357u8 D_PAL_80271B44[] = { 0x7D, 0x87, 0x87, 0x87 };
358u8 D_PAL_80271B48[] = { 0x66, 0x70, 0x70, 0x70 };
359u8 D_PAL_80271B4C[] = { 0x0C, 0x0C, 0x12, 0x0C };
360u8 D_PAL_80271B50[] = { 0x50, 0x60, 0x52, 0x5F };
361#endif
362
363#if VERSION_IQUE
364u8 gPauseMsg_17[] = { 0x8F, 0x0C, 0x75, 0x12, 0xFD };
365u8 gPauseMsg_18[] = { 0x7B, 0x0E, 0x7C, 0x0E, 0xFD };
366u8 gPauseMsg_19[] = { 0x77, 0x10, 0x74, 0x0D, 0xFD };
367u8 gPauseMsg_1A[] = { 0x79, 0x12, 0x67, 0x09, 0xFD };
368u8 gPauseMsg_32[] = { 0x64, 0x02, 0x75, 0x11, 0xFD };
369u8 gPauseMsg_33[] = { 0x62, 0x05, 0x62, 0x05, 0x87, 0x06, 0x5F, 0x18, 0xFD };
370u8 gPauseMsg_34[] = { 0x62, 0x05, 0x73, 0x02, 0x67, 0x11, 0x85, 0x10, 0xFD };
371u8 gPauseMsg_35[] = { 0x7D, 0x0C, 0x85, 0x12, 0x85, 0x05, 0x79, 0x02, 0xFD };
372u8 gPauseMsg_36[] = { 0x28, 0x30, 0xFD };
373u8 gPauseMsg_37[] = { 0x26, 0x30, 0xFD };
374u8 gPauseMsg_38[] = { 0x22, 0x30, 0xFD };
375u8 gPauseMsg_39[] = { 0x0F, 0xFD };
376u8 gPauseMsg_3A[] = { 0x0E, 0xFD };
377u8 gPauseMsg_3B[] = { 0x69, 0x08, 0x81, 0x07, 0xFD };
378u8 gPauseMsg_3C[] = { 0x7B, 0x25, 0x60, 0x01, 0xFD };
379u8 gPauseMsg_3D[] = { 0x6B, 0x02, 0x6C, 0x02, 0x7B, 0x25, 0x60, 0x01, 0xFD };
380u8 gPauseMsg_3E[] = { 0x6D, 0x0A, 0x6C, 0x02, 0x7B, 0x25, 0x60, 0x01, 0xFD };
381u8 gPauseMsg_3F[] = { 0x69, 0x08, 0x81, 0x07, 0xFD };
382u8 gPauseMsg_40[] = { 0x68, 0x04, 0x60, 0x01, 0xFD };
383u8 gPauseMsg_41[] = { 0x6B, 0x02, 0x6C, 0x02, 0x68, 0x04, 0x60, 0x01, 0xFD };
384u8 gPauseMsg_42[] = { 0x6D, 0x0A, 0x6C, 0x02, 0x68, 0x04, 0x60, 0x01, 0xFD };
385u8 gPauseMsg_43[] = { 0x75, 0x04, 0x76, 0x04, 0x81, 0x03, 0xFD };
386u8 gPauseMsg_44[] = { 0x82, 0x07, 0x6C, 0x02, 0xFD };
387u8 gPauseMsg_46[] = { 0x22, 0x30, 0xFD };
388u8 gPauseMsg_47[] = { 0x69, 0x07, 0x81, 0x07, 0x7B, 0x0E, 0x7C, 0x0E, 0xFD };
389u8 gPauseMsg_48[] = { 0x81, 0x07, 0x6F, 0x17, 0x7B, 0x0E, 0x7C, 0x0E, 0xFD };
390u8 gPauseMsg_49[] = { 0xFD };
391u8 gPauseMsg_4A[] = { 0x69, 0x08, 0x81, 0x07, 0x6C, 0x14, 0x78, 0x0D, 0xF7, 0x22, 0x30, 0xFD };
392u8 gPauseMsg_4B[] = { 0x76, 0x06, 0x8B, 0x06, 0x85, 0x07, 0x82, 0x12, 0x8C, 0x04, 0x87, 0x04, 0xFD };
393u8 gPauseMsg_50[] = { 0x77, 0x10, 0x74, 0x0D, 0xFD };
394u8 gPauseMsg_4F[] = { 0x8C, 0x07, 0x80, 0x05, 0x77, 0x10, 0x74, 0x0D, 0xFD };
395u8 gPauseMsg_53[] = { 0x28, 0x30, 0xFD };
396u8 gPauseMsg_54[] = { 0x26, 0x30, 0xFD };
397u8 gPauseMsg_55[] = { 0x6A, 0x11, 0x8B, 0x06, 0xFD };
398u8 gPauseMsg_56[] = { 0x74, 0x08, 0x74, 0x08, 0x74, 0x08, 0xFD };
399#elif VERSION_US
400u8 gPauseMsg_17[] = { 0x33, 0x54, 0x41, 0x54, 0x53, 0xFD }; // Stats[End]
401u8 gPauseMsg_18[] = { 0x22, 0x41, 0x44, 0x47, 0x45, 0xFD }; // Badge[End]
402u8 gPauseMsg_19[] = { 0x29, 0x54, 0x45, 0x4D, 0x53, 0xFD }; // Items[End]
403u8 gPauseMsg_1A[] = { 0x30, 0x41, 0x52, 0x54, 0x59, 0xFD }; // Party[End]
404u8 gPauseMsg_32[] = { 0x23, 0x4F, 0x49, 0x4E, 0x53, 0xFD }; // Coins[End]
405u8 gPauseMsg_33[] = { 0x33, 0x54, 0x41, 0x52, 0xF7, 0x30, 0x4F, 0x49, 0x4E, 0x54, 0x53, 0xFD }; // Star Points[End]
406u8 gPauseMsg_34[] = { 0x33, 0x54, 0x41, 0x52, 0xF7, 0x30, 0x49, 0x45, 0x43, 0x45, 0x53, 0xFD }; // Star Pieces[End]
407u8 gPauseMsg_35[] = { 0x30, 0x4C, 0x41, 0x59, 0xF7, 0x34, 0x49, 0x4D, 0x45, 0xFD }; // Play Time[End]
408u8 gPauseMsg_36[] = { MSG_CHAR_UPPER_H, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // HP[End]
409u8 gPauseMsg_37[] = { MSG_CHAR_UPPER_F, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // FP[End]
410u8 gPauseMsg_38[] = { MSG_CHAR_UPPER_B, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // BP[End]
411u8 gPauseMsg_39[] = { MSG_CHAR_FORWARDSLASH, MSG_CHAR_READ_END }; // /[End]
412u8 gPauseMsg_3A[] = { MSG_CHAR_PERIOD, MSG_CHAR_READ_END }; // .[End]
413u8 gPauseMsg_3B[] = { 0x2E, 0x4F, 0x4E, 0x45, 0xFD }; // None[End]
414u8 gPauseMsg_3C[] = { 0x22, 0x4F, 0x4F, 0x54, 0x53, 0xFD }; // Boots[End]
415u8 gPauseMsg_3D[] = { 0x33, 0x55, 0x50, 0x45, 0x52, 0xF7, 0x22, 0x4F, 0x4F, 0x54, 0x53, 0xFD }; // Super Boots[End]
416u8 gPauseMsg_3E[] = { 0x35, 0x4C, 0x54, 0x52, 0x41, 0xF7, 0x22, 0x4F, 0x4F, 0x54, 0x53, 0xFD }; // Ultra Boots[End]
417u8 gPauseMsg_3F[] = { 0x2E, 0x4F, 0x4E, 0x45, 0xFD }; // None[End]
418u8 gPauseMsg_40[] = { 0x28, 0x41, 0x4D, 0x4D, 0x45, 0x52, 0xFD }; // Hammer[End]
419u8 gPauseMsg_41[] = { 0x33, 0x55, 0x50, 0x45, 0x52, 0xF7, 0x28, 0x41, 0x4D, 0x4D, 0x45, 0x52, 0xFD }; // Super Hammer[End]
420u8 gPauseMsg_42[] = { 0x35, 0x4C, 0x54, 0x52, 0x41, 0xF7, 0x28, 0x41, 0x4D, 0x4D, 0x45, 0x52, 0xFD }; // Ultra Hammer[End]
421u8 gPauseMsg_43[] = { 0x2D, 0x41, 0x52, 0x49, 0x4F, 0xFD }; // Mario[End]
422u8 gPauseMsg_44[] = { 0x2C, 0x45, 0x56, 0x45, 0x4C, 0xFD }; // Level[End]
423u8 gPauseMsg_46[] = { MSG_CHAR_UPPER_B, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // BP[End]
424u8 gPauseMsg_47[] = { 0x21, 0x4C, 0x4C, 0xF7, 0x22, 0x41, 0x44, 0x47, 0x45, 0x53, 0xFD }; // All Badges[End]
425u8 gPauseMsg_48[] = { 0x21, 0x43, 0x54, 0x49, 0x56, 0x45, 0xFD }; // Active[End]
426u8 gPauseMsg_49[] = { 0x22, 0x41, 0x44, 0x47, 0x45, 0x53, 0xFD }; // Badges[End]
427u8 gPauseMsg_4A[] = { 0x2E, 0x4F, 0x54, 0xF7, 0x45, 0x4E, 0x4F, 0x55, 0x47, 0x48, 0xF7, 0x22, 0x30, 0xFD }; // Not enough BP[End]
428u8 gPauseMsg_4B[] = { 0x24, 0x4F, 0x4E, 0x07, 0x54, 0xF7, 0x57, 0x45, 0x41, 0x52, 0xF7, 0x4D, 0x4F, 0x52, 0x45, 0x01, 0xFD }; // Don't wear more![End]
429u8 gPauseMsg_50[] = { 0x29, 0x54, 0x45, 0x4D, 0x53, 0xFD }; // Items[End]
430u8 gPauseMsg_4F[] = { 0x2B, 0x45, 0x59, 0xF7, 0x29, 0x54, 0x45, 0x4D, 0x53, 0xFD }; // Key Items[End]
431u8 gPauseMsg_53[] = { MSG_CHAR_UPPER_H, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // HP[End]
432u8 gPauseMsg_54[] = { MSG_CHAR_UPPER_F, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // FP[End]
433u8 gPauseMsg_55[] = { 0x21, 0x42, 0x49, 0x4C, 0x49, 0x54, 0x49, 0x45, 0x53, 0xFD }; // Abilities[End]
434u8 gPauseMsg_56[] = { MSG_CHAR_QUESTION, MSG_CHAR_QUESTION, MSG_CHAR_QUESTION, MSG_CHAR_READ_END }; // ???[End]
435#elif VERSION_PAL
436#define gPauseMsg_32 MSG_PAL_Menu_0039 /* Coins */
437#define gPauseMsg_33 MSG_PAL_Menu_003A /* Star Points */
438#define gPauseMsg_34 MSG_PAL_Menu_003B /* Star Pieces */
439#define gPauseMsg_35 MSG_PAL_Menu_003C /* Play Time */
440#define gPauseMsg_36 MSG_PAL_Menu_003D /* HP */
441#define gPauseMsg_37 MSG_PAL_Menu_003E /* FP */
442#define gPauseMsg_38 MSG_PAL_Menu_003F /* BP */
443#define gPauseMsg_39 MSG_PAL_Menu_0040 /* / */
444#define gPauseMsg_3A MSG_PAL_Menu_0041 /* . */
445#define gPauseMsg_3C MSG_PAL_Menu_0042 /* Boots */
446#define gPauseMsg_3D MSG_PAL_Menu_0043 /* Super Boots */
447#define gPauseMsg_3E MSG_PAL_Menu_0044 /* Ultra Boots */
448#define gPauseMsg_40 MSG_PAL_Menu_0045 /* Hammer */
449#define gPauseMsg_41 MSG_PAL_Menu_0046 /* Super Hammer */
450#define gPauseMsg_42 MSG_PAL_Menu_0047 /* Ultra Hammer */
451#define gPauseMsg_43 MSG_PAL_Menu_0048 /* Mario */
452#define gPauseMsg_44 MSG_PAL_Menu_0049 /* Level */
453#define gPauseMsg_46 MSG_PAL_Menu_003F /* BP */
454#define gPauseMsg_47 MSG_PAL_Menu_004A /* All Badges */
455#define gPauseMsg_PAL_42 MSG_PAL_Menu_004B /* [END] */
456#define gPauseMsg_48 MSG_PAL_Menu_004C /* Active */
457#define gPauseMsg_49 MSG_PAL_Menu_004D /* Badges */
458#define gPauseMsg_4A MSG_PAL_Menu_004E /* Not Enough BP! */
459#define gPauseMsg_4B MSG_PAL_Menu_004F /* Don't wear more! */
460#define gPauseMsg_4F MSG_PAL_Menu_0051 /* Key Items */
461#define gPauseMsg_PAL_4B MSG_PAL_Menu_0052 /* [END] */
462#define gPauseMsg_50 MSG_PAL_Menu_0050 /* Items */
463#define gPauseMsg_53 MSG_PAL_Menu_003D /* HP */
464#define gPauseMsg_54 MSG_PAL_Menu_003E /* FP */
465#define gPauseMsg_55 MSG_PAL_Menu_0053 /* Abilities */
466#define gPauseMsg_56 MSG_PAL_Menu_0054 /* ??? */
467#endif
468
470 [PAUSE_MSG_NONE] MSG_NONE,
471 [PAUSE_MSG_TUT_NAME_BADGES] MSG_MenuTip_BadgeTutorial_01,
472 [PAUSE_MSG_TUT_UNUSED_1] MSG_MenuTip_002B,
473 [PAUSE_MSG_TUT_UNUSED_2] MSG_MenuTip_002C,
474 [PAUSE_MSG_TUT_UNUSED_3] MSG_MenuTip_002D,
475 [PAUSE_MSG_TUT_UNUSED_4] MSG_MenuTip_002E,
476 [PAUSE_MSG_TUT_UNUSED_5] MSG_MenuTip_002F,
477 [PAUSE_MSG_TUT_UNUSED_6] MSG_MenuTip_0030,
478 [PAUSE_MSG_TUT_UNUSED_7] MSG_MenuTip_0031,
479 [PAUSE_MSG_TUT_DESC_1] MSG_MenuTip_BadgeTutorial_02,
480 [PAUSE_MSG_TUT_DESC_2] MSG_MenuTip_BadgeTutorial_03,
481 [PAUSE_MSG_TUT_DESC_3] MSG_MenuTip_BadgeTutorial_04,
482 [PAUSE_MSG_TUT_DESC_4] MSG_MenuTip_BadgeTutorial_05,
483 [PAUSE_MSG_TUT_DESC_5] MSG_MenuTip_BadgeTutorial_06,
484 [PAUSE_MSG_TUT_DESC_6] MSG_MenuTip_BadgeTutorial_07,
485 [PAUSE_MSG_TUT_DESC_7] MSG_MenuTip_BadgeTutorial_08,
486 [PAUSE_MSG_TUT_CMD_1] MSG_MenuTip_BadgeTutorial_09,
487 [PAUSE_MSG_TUT_CMD_2] MSG_MenuTip_BadgeTutorial_10,
488 [PAUSE_MSG_TUT_CMD_3] MSG_MenuTip_BadgeTutorial_11,
489 [PAUSE_MSG_TUT_CMD_4] MSG_MenuTip_BadgeTutorial_12,
490 [PAUSE_MSG_TUT_CMD_5] MSG_MenuTip_BadgeTutorial_13,
491 [PAUSE_MSG_TUT_CMD_6] MSG_MenuTip_BadgeTutorial_14,
492 [PAUSE_MSG_TUT_CMD_7] MSG_MenuTip_BadgeTutorial_15,
493#if !VERSION_PAL
494 [PAUSE_MSG_17] (s32) gPauseMsg_17,
495 [PAUSE_MSG_18] (s32) gPauseMsg_18,
496 [PAUSE_MSG_19] (s32) gPauseMsg_19,
497 [PAUSE_MSG_1A] (s32) gPauseMsg_1A,
498#endif
499 [PAUSE_MSG_TAB_STATS] MSG_MenuTip_StatsTab,
500 [PAUSE_MSG_TAB_BADGES] MSG_MenuTip_BadgesTab,
501 [PAUSE_MSG_TAB_ITEMS] MSG_MenuTip_ItemsTab,
502 [PAUSE_MSG_TAB_PARTY] MSG_MenuTip_PartyTab,
503 [PAUSE_MSG_TAB_SPIRITS] MSG_MenuTip_SpiritsTab,
504 [PAUSE_MSG_TAB_MAP] MSG_MenuTip_MapTab,
505 [PAUSE_MSG_TIP_CONTROLS] MSG_MenuTip_ControllingMario,
506 [PAUSE_MSG_TIP_HP] MSG_MenuTip_HeartPoints,
507 [PAUSE_MSG_TIP_FP] MSG_MenuTip_FlowerPoints,
508 [PAUSE_MSG_TIP_BP] MSG_MenuTip_BadgePoints,
509 [PAUSE_MSG_TIP_BOOTS_1] MSG_MenuTip_Boots1,
510 [PAUSE_MSG_TIP_BOOTS_2] MSG_MenuTip_Boots2,
511 [PAUSE_MSG_TIP_BOOTS_3] MSG_MenuTip_Boots3,
512 [PAUSE_MSG_TIP_HAMMER_0] MSG_MenuTip_Hammer0,
513 [PAUSE_MSG_TIP_HAMMER_1] MSG_MenuTip_Hammer1,
514 [PAUSE_MSG_TIP_HAMMER_2] MSG_MenuTip_Hammer2,
515 [PAUSE_MSG_TIP_HAMMER_3] MSG_MenuTip_Hammer3,
516 [PAUSE_MSG_TIP_STAR_POWER] MSG_MenuTip_StarPower,
517 [PAUSE_MSG_TIP_STAR_POINTS] MSG_MenuTip_StarPoints,
518 [PAUSE_MSG_TIP_COINS] MSG_MenuTip_Coins,
519 [PAUSE_MSG_TIP_SECRETS] MSG_MenuTip_Secrets,
520 [PAUSE_MSG_TIP_STAR_PIECES] MSG_MenuTip_StarPieces,
521 [PAUSE_MSG_TIP_TIME] MSG_MenuTip_Time,
522 [PAUSE_MSG_LBL_COINS] (s32) gPauseMsg_32,
523 [PAUSE_MSG_LBL_STAR_POINTS] (s32) gPauseMsg_33,
524 [PAUSE_MSG_LBL_STAR_PIECES] (s32) gPauseMsg_34,
525 [PAUSE_MSG_LBL_TIME] (s32) gPauseMsg_35,
526 [PAUSE_MSG_LBL_HP] (s32) gPauseMsg_36,
527 [PAUSE_MSG_LBL_FP] (s32) gPauseMsg_37,
528 [PAUSE_MSG_LBL_BP] (s32) gPauseMsg_38,
529 [PAUSE_MSG_SLASH] (s32) gPauseMsg_39,
530 [PAUSE_MSG_DOT] (s32) gPauseMsg_3A,
531#if !VERSION_PAL
532 [PAUSE_MSG_3B] (s32) gPauseMsg_3B,
533#endif
534 [PAUSE_MSG_3C] (s32) gPauseMsg_3C,
535 [PAUSE_MSG_3D] (s32) gPauseMsg_3D,
536 [PAUSE_MSG_3E] (s32) gPauseMsg_3E,
537#if !VERSION_PAL
538 [PAUSE_MSG_3F] (s32) gPauseMsg_3F,
539#endif
540 [PAUSE_MSG_40] (s32) gPauseMsg_40,
541 [PAUSE_MSG_41] (s32) gPauseMsg_41,
542 [PAUSE_MSG_42] (s32) gPauseMsg_42,
543 [PAUSE_MSG_MARIO] (s32) gPauseMsg_43,
544 [PAUSE_MSG_LEVEL] (s32) gPauseMsg_44,
545 [PAUSE_MSG_NO_BADGE] MSG_MenuTip_None,
546 [PAUSE_MSG_BADGE_BP] (s32) gPauseMsg_46,
547 [PAUSE_MSG_ALL_BADGES] (s32) gPauseMsg_47,
548#if VERSION_PAL
549 [PAUSE_MSG_PAL_42] (s32) gPauseMsg_PAL_42,
550#endif
551 [PAUSE_MSG_ACTIVE] (s32) gPauseMsg_48,
552 [PAUSE_MSG_BADGES] (s32) gPauseMsg_49,
553 [PAUSE_MSG_NOT_ENOUGH_BP] (s32) gPauseMsg_4A,
554 [PAUSE_MSG_DONT_WEAR_MORE] (s32) gPauseMsg_4B,
555 [PAUSE_MSG_BAGDE_DESC_ALL] MSG_MenuTip_BadgeTab_All,
556 [PAUSE_MSG_BAGDE_DESC_ACTIVE] MSG_MenuTip_BadgeTab_Equipped,
557 [PAUSE_MSG_BAGDE_DESC_NONE] MSG_MenuTip_None,
558 [PAUSE_MSG_KEY_ITEMS] (s32) gPauseMsg_4F,
559#if VERSION_PAL
560 [PAUSE_MSG_PAL_4B] (s32) gPauseMsg_PAL_4B,
561#endif
562 [PAUSE_MSG_CONSUMABLES] (s32) gPauseMsg_50,
563 [PAUSE_MSG_DESC_CONSUMABLES] MSG_MenuTip_ItemTab_Consumables,
564 [PAUSE_MSG_DESC_KEY_ITEMS] MSG_MenuTip_ItemTab_KeyItems,
565 [PAUSE_MSG_PARTNER_HP] (s32) gPauseMsg_53,
566 [PAUSE_MSG_PARTNER_FP] (s32) gPauseMsg_54,
567 [PAUSE_MSG_PARTNER_ABILITIES] (s32) gPauseMsg_55,
568 [PAUSE_MSG_UNKNOWN_SPIRIT] (s32) gPauseMsg_56,
569};
570
582
583s32 pause_get_menu_msg(s32 index) {
584 return gPauseMessages[index];
585}
586
587void pause_draw_menu_label(s32 index, s32 x, s32 y) {
588 s32 xOffset = 64;
589
590 if (index == 8) {
591 xOffset = 128;
592 }
593 if (index == 3) {
594 xOffset = 48;
595 }
596 if (index == 4) {
597 xOffset = 48;
598 }
599 if (index == 5) {
600 xOffset = 48;
601 }
602 if (index == 6) {
603 xOffset = 160;
604 }
605
606 gSPDisplayList(gMainGfxPos++, PauseGfxLabels[index]);
607 pause_draw_rect(x * 4, y * 4, (x + xOffset) * 4, (y + 16) * 4, 0, 0, 0, 0x400, 0x400);
608
609#if VERSION_PAL
610 if (gCurrentLanguage == LANGUAGE_DE && index == 5) {
611 s16 xOffset2 = xOffset;
612
613 pause_draw_rect((x + 30) * 4, (y * 4), (xOffset2 + x + 10) * 4, (y + 16) * 4, 0, 0x280, 0, 0x400, 0x400);
614 }
615#endif
616}
617
@ LANGUAGE_DE
Definition enums.h:6401
@ MSG_CHAR_UPPER_H
Definition enums.h:5896
@ MSG_CHAR_FORWARDSLASH
Definition enums.h:5871
@ MSG_CHAR_PERIOD
Definition enums.h:5870
@ MSG_CHAR_UPPER_B
Definition enums.h:5890
@ MSG_CHAR_QUESTION
Definition enums.h:5887
@ MSG_CHAR_UPPER_F
Definition enums.h:5894
@ MSG_CHAR_UPPER_P
Definition enums.h:5904
@ MSG_CHAR_READ_END
Definition enums.h:6056
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
@ PAUSE_MSG_TIP_BP
@ PAUSE_MSG_DONT_WEAR_MORE
@ PAUSE_MSG_TIP_FP
@ PAUSE_MSG_TAB_BADGES
@ PAUSE_MSG_TUT_DESC_3
@ PAUSE_MSG_18
@ PAUSE_MSG_TUT_DESC_5
@ PAUSE_MSG_NO_BADGE
@ PAUSE_MSG_TUT_CMD_4
@ PAUSE_MSG_PARTNER_HP
@ PAUSE_MSG_TUT_DESC_4
@ PAUSE_MSG_TAB_MAP
@ PAUSE_MSG_LBL_TIME
@ PAUSE_MSG_TUT_DESC_1
@ PAUSE_MSG_TAB_STATS
@ PAUSE_MSG_LBL_STAR_PIECES
@ PAUSE_MSG_TIP_BOOTS_1
@ PAUSE_MSG_1A
@ PAUSE_MSG_TIP_STAR_PIECES
@ PAUSE_MSG_TUT_UNUSED_6
@ PAUSE_MSG_LBL_FP
@ PAUSE_MSG_PARTNER_FP
@ PAUSE_MSG_TIP_STAR_POINTS
@ PAUSE_MSG_BADGES
@ PAUSE_MSG_3F
@ PAUSE_MSG_40
@ PAUSE_MSG_3E
@ PAUSE_MSG_TAB_ITEMS
@ PAUSE_MSG_TIP_TIME
@ PAUSE_MSG_TUT_CMD_3
@ PAUSE_MSG_TIP_HAMMER_0
@ PAUSE_MSG_LBL_HP
@ PAUSE_MSG_ACTIVE
@ PAUSE_MSG_LBL_COINS
@ PAUSE_MSG_TUT_UNUSED_2
@ PAUSE_MSG_TUT_CMD_1
@ PAUSE_MSG_TIP_SECRETS
@ PAUSE_MSG_KEY_ITEMS
@ PAUSE_MSG_41
@ PAUSE_MSG_17
@ PAUSE_MSG_LEVEL
@ PAUSE_MSG_TUT_CMD_5
@ PAUSE_MSG_TIP_BOOTS_2
@ PAUSE_MSG_TUT_UNUSED_5
@ PAUSE_MSG_TIP_BOOTS_3
@ PAUSE_MSG_TUT_DESC_2
@ PAUSE_MSG_19
@ PAUSE_MSG_TIP_HP
@ PAUSE_MSG_DESC_KEY_ITEMS
@ PAUSE_MSG_TUT_DESC_6
@ PAUSE_MSG_TUT_UNUSED_7
@ PAUSE_MSG_LBL_BP
@ PAUSE_MSG_SLASH
@ PAUSE_MSG_42
@ PAUSE_MSG_LBL_STAR_POINTS
@ PAUSE_MSG_CONSUMABLES
@ PAUSE_MSG_NONE
@ PAUSE_MSG_ALL_BADGES
@ PAUSE_MSG_TUT_CMD_6
@ PAUSE_MSG_BAGDE_DESC_ALL
@ PAUSE_MSG_TUT_UNUSED_3
@ PAUSE_MSG_3D
@ PAUSE_MSG_TAB_SPIRITS
@ PAUSE_MSG_TIP_CONTROLS
@ PAUSE_MSG_TUT_UNUSED_4
@ PAUSE_MSG_TUT_DESC_7
@ PAUSE_MSG_UNKNOWN_SPIRIT
@ PAUSE_MSG_TIP_HAMMER_3
@ PAUSE_MSG_TUT_CMD_2
@ PAUSE_MSG_TIP_HAMMER_2
@ PAUSE_MSG_MARIO
@ PAUSE_MSG_BADGE_BP
@ PAUSE_MSG_TAB_PARTY
@ PAUSE_MSG_3C
@ PAUSE_MSG_DESC_CONSUMABLES
@ PAUSE_MSG_TIP_STAR_POWER
@ PAUSE_MSG_NOT_ENOUGH_BP
@ PAUSE_MSG_BAGDE_DESC_NONE
@ PAUSE_MSG_TUT_NAME_BADGES
@ PAUSE_MSG_TIP_HAMMER_1
@ PAUSE_MSG_DOT
@ PAUSE_MSG_TUT_CMD_7
@ PAUSE_MSG_PARTNER_ABILITIES
@ PAUSE_MSG_TUT_UNUSED_1
@ PAUSE_MSG_BAGDE_DESC_ACTIVE
@ PAUSE_MSG_TIP_COINS
@ PAUSE_MSG_3B
void pause_draw_rect(s32 ulx, s32 uly, s32 lrx, s32 lry, s32 tileIdx, s32 uls, s32 ult, s32 dsdx, s32 dtdy)
Definition pause_main.c:841
@ PAUSE_LBL_ENERGY
@ PAUSE_LBL_BOOTS
@ PAUSE_LBL_ABILITIES
@ PAUSE_LBL_HAMMER
@ PAUSE_LBL_HP
@ PAUSE_LBL_AVAILABLE
@ PAUSE_LBL_STATS
@ PAUSE_LBL_BP
@ PAUSE_LBL_FP
Gfx * PauseGfxLabels[]
Definition pause_gfx.c:571
Gfx PauseGfxBannerBp[]
Definition pause_gfx.c:113
Gfx PauseGfxStatsBar[]
Definition pause_gfx.c:189
s32 gPauseMessages[]
Definition pause_gfx.c:469
Gfx PauseGfxBannerHammer[]
Definition pause_gfx.c:151
Gfx PauseGfxSpiritsBg[]
Definition pause_gfx.c:325
Gfx PauseGfxArrows[]
Definition pause_gfx.c:246
Gfx PauseGfxBannerHp[]
Definition pause_gfx.c:75
Gfx PauseGfxPathPoints[]
Definition pause_gfx.c:226
BSS s8 gPauseBufferImg2[15752]
Definition pause_gfx.c:621
Gfx PauseGfxBannerFp[]
Definition pause_gfx.c:94
s32 pause_get_menu_msg(s32 index)
Definition pause_gfx.c:583
BSS s8 gPauseBufferImg1[15752]
Definition pause_gfx.c:619
Gfx PauseGfxCheckAbilities[]
Definition pause_gfx.c:306
Gfx PauseGfxOrbs[]
Definition pause_gfx.c:264
void pause_draw_menu_label(s32 index, s32 x, s32 y)
Definition pause_gfx.c:587
Gfx PauseGfxBannerStarEnergy[]
Definition pause_gfx.c:170
Gfx PauseGfxAvailable[]
Definition pause_gfx.c:282
BSS s8 gPauseBufferPal2[512]
Definition pause_gfx.c:620
Gfx PauseGfxWorldMap[]
Definition pause_gfx.c:208
BSS s8 gPauseBufferPal1[512]
Definition pause_gfx.c:618
Gfx PauseGfxBannerBoots[]
Definition pause_gfx.c:132
u8 pause_world_map_png[]
s8 pause_spirits_bg_png[]
s8 pause_image_143BF0_png[]
s8 pause_image_143FF0_png[]
s8 pause_image_1439F0_png[]
#define BSS
Definition macros.h:7
#define PM_CC_01
Definition macros.h:276
#define PM_CC_2F
Definition macros.h:384
#define gCurrentLanguage
Definition variables.h:115
Gfx * gMainGfxPos
Definition cam_main.c:15