Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
chapter_change.c
Go to the documentation of this file.
1#include "include_asset.h"
2
3#if VERSION_JP
4INCLUDE_IMG("effects/gfx/world/ch1.png", D_09000000_3F4120);
5INCLUDE_IMG("effects/gfx/world/ch2.png", D_09001000_3F5120);
6INCLUDE_IMG("effects/gfx/world/ch3.png", D_09002000_3F6120);
7INCLUDE_IMG("effects/gfx/world/ch4.png", D_09003000_3F7120);
8INCLUDE_IMG("effects/gfx/world/ch5.png", D_09004000_3F8120);
9INCLUDE_IMG("effects/gfx/world/ch6.png", D_09005000_3F9120);
10INCLUDE_IMG("effects/gfx/world/ch7.png", D_09006000_3FA120);
11INCLUDE_IMG("effects/gfx/world/ch8.png", D_09007000_3FB120);
12INCLUDE_IMG("effects/gfx/world/ch0.png", D_09008000_3FC120);
13INCLUDE_IMG("effects/gfx/D_09000B40_3EC9A0.png", D_09008B40_3FCC60);
14INCLUDE_IMG("effects/gfx/world/chapter_rainbow.png", D_09009680_3FD7A0);
15INCLUDE_IMG("effects/gfx/world/text_stage.png", D_09009780_3FD8A0);
16INCLUDE_IMG("effects/gfx/world/D_09009FA0_3FE0C0.png", D_09009FA0_3FE0C0);
17INCLUDE_IMG("effects/gfx/world/text_clear.png", D_0900A7C0_3FE8E0);
18INCLUDE_IMG("effects/gfx/world/D_0900AF40_3FF060.png", D_0900AF40_3FF060);
19#else
20INCLUDE_IMG("effects/gfx/world/ch0.png", D_09000000_3EBE60);
21INCLUDE_IMG("effects/gfx/D_09000B40_3EC9A0.png", D_09000B40_3EC9A0);
22INCLUDE_IMG("effects/gfx/world/text_chapter.png", D_09001680_3ED4E0);
23INCLUDE_IMG("effects/gfx/D_09001B80_3ED9E0.png", D_09001B80_3ED9E0);
24INCLUDE_IMG("effects/gfx/D_09002080_3EDEE0.png", D_09002080_3EDEE0);
25INCLUDE_IMG("effects/gfx/D_09002580_3EE3E0.png", D_09002580_3EE3E0);
26INCLUDE_IMG("effects/gfx/world/text_end_of.png", D_09002A80_3EE8E0);
27INCLUDE_IMG("effects/gfx/world/exclamation_point.png", D_09003AC0_3EF920);
28INCLUDE_IMG("effects/gfx/world/ch1.png", D_09003D40_3EFBA0);
29INCLUDE_IMG("effects/gfx/world/ch2.png", D_09004D40_3F0BA0);
30INCLUDE_IMG("effects/gfx/world/ch3.png", D_09005D40_3F1BA0);
31INCLUDE_IMG("effects/gfx/world/ch4.png", D_09006D40_3F2BA0);
32INCLUDE_IMG("effects/gfx/world/ch5.png", D_09007D40_3F3BA0);
33INCLUDE_IMG("effects/gfx/world/ch6.png", D_09008D40_3F4BA0);
34INCLUDE_IMG("effects/gfx/world/ch7.png", D_09009D40_3F5BA0);
35INCLUDE_IMG("effects/gfx/world/ch8.png", D_0900AD40_3F6BA0);
36INCLUDE_IMG("effects/gfx/world/chapter_rainbow.png", D_0900BD40_3F7BA0);
37#endif
38
39#include "effects/gfx/D_0900BE40_3F7CA0.gfx.inc.c"
40#include "effects/gfx/D_0900BE88_3F7CE8.gfx.inc.c"
41#include "effects/gfx/D_0900BED0_3F7D30.gfx.inc.c"
42#include "effects/gfx/D_0900BF18_3F7D78.gfx.inc.c"
43#include "effects/gfx/D_0900BF60_3F7DC0.gfx.inc.c"
44#include "effects/gfx/D_0900BFA8_3F7E08.gfx.inc.c"
45#include "effects/gfx/D_0900BFF0_3F7E50.gfx.inc.c"
46#include "effects/gfx/D_0900C038_3F7E98.gfx.inc.c"
47
48#if VERSION_JP
49#include "effects/gfx/D_0900B900_3FFA20.gfx.inc.c"
50#include "effects/gfx/D_0900B9E8_3FFB08.gfx.inc.c"
51#include "effects/gfx/D_0900BA30_3FFB50.gfx.inc.c"
52#include "effects/gfx/D_0900BB18_3FFC38.gfx.inc.c"
53#else
54#include "effects/gfx/D_0900C080_3F7EE0.gfx.inc.c"
55#include "effects/gfx/D_0900C168_3F7FC8.gfx.inc.c"
56#include "effects/gfx/D_0900C1B0_3F8010.gfx.inc.c"
57#include "effects/gfx/D_0900C1F8_3F8058.gfx.inc.c"
58#include "effects/gfx/D_0900C240_3F80A0.gfx.inc.c"
59
60// TODO allow splat to output the reference to halfway into the texture
61//#include "effects/gfx/D_0900C328_3F8188.gfx.inc.c"
63 gsDPSetTextureLUT(G_TT_NONE),
64 gsDPLoadTextureTile(&D_09002A80_3EE8E0[0x820], G_IM_FMT_IA, G_IM_SIZ_8b, 104, 0, 0, 0, 103, 19, 0, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMIRROR | G_TX_CLAMP, 7, 6, G_TX_NOLOD, G_TX_NOLOD),
65 gsSPEndDisplayList(),
66};
67
68#include "effects/gfx/D_0900C370_3F81D0.gfx.inc.c"
69#endif
70
71#include "effects/gfx/D_0900C458_3F82B8.gfx.inc.c"
72#include "effects/gfx/D_0900C540_3F83A0.gfx.inc.c"
Gfx D_0900C328_3F8188[]
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)