|
@@ -7,11 +7,11 @@
|
7
|
7
|
extern pchar *blackboard_text[];
|
8
|
8
|
|
9
|
9
|
const struct TextboxTemplate blackboard_box[] = {
|
10
|
|
- {.bg_id = 0, .x = 4, .y = 7, .width = 6, .height = 3, .pal_id = 15, .charbase = 1},
|
|
10
|
+ {.bg_id = 0, .x = 2, .y = 5, .width = 28, .height = 10, .pal_id = 15, .charbase = 1},
|
11
|
11
|
};
|
12
|
12
|
|
13
|
13
|
const u16 blackboard_text_pal[] =
|
14
|
|
- {rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255),
|
|
14
|
+ {rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(000, 163, 131), rgb5(255, 255, 255),
|
15
|
15
|
rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255),
|
16
|
16
|
rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255),
|
17
|
17
|
rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255), rgb5(255, 255, 255)};
|
|
@@ -49,6 +49,20 @@ void blackboard_loop(u8 id) {
|
49
|
49
|
blackboard_text[0]);
|
50
|
50
|
tasks[id].priv[0]++;
|
51
|
51
|
break;
|
|
52
|
+ case 4:
|
|
53
|
+ if(!dialogid_was_acknowledged(0)) {
|
|
54
|
+ fade_screen(0xFFFFFFFF, 1, 0, 16, 0x0000);
|
|
55
|
+ tasks[id].priv[0]++;
|
|
56
|
+ }
|
|
57
|
+ break;
|
|
58
|
+ case 5:
|
|
59
|
+ if(!pal_fade_control.active){
|
|
60
|
+ task_del(id);
|
|
61
|
+ scene_free_bg_maps();
|
|
62
|
+ set_callback2(c2_exit_to_overworld_2_switch);
|
|
63
|
+ set_callback1(c1_overworld);
|
|
64
|
+ }
|
|
65
|
+ break;
|
52
|
66
|
default:
|
53
|
67
|
break;
|
54
|
68
|
}
|