@@ -261,24 +261,19 @@ int pceth2_addMapItem(SCRIPT_DATA *s)
261261 * EV_????AFTER_SCHOOLを読み終わった時に呼び出されます
262262 * return ランドマーク登録数が0=表示しない場合 FALSE
263263 */
264- BOOL pceth2_initMapClock ()
264+ void pceth2_initMapClock ()
265265{
266- if (play .lmAmount > 0 ) { // ランドマークが登録されている
267- char buf [FNAMELEN_CLOCK + 1 ];
268- int const time = (pceth2_getDate (MONTH , DAY ) == 6 ) ? 11 : 19 ; // 土曜は 12:10, 平日は 14:50
269-
270- pceth2_loadGraphic (BG_MAPCLOCK , GRP_BG );
271- pcesprintf (buf , "CLOCK%02d.pgx" , time );
272- pceth2_loadGraphic (buf , GRP_C );
273- pceth2_clearGraphic (GRP_L );
274- pceth2_clearGraphic (GRP_R );
275- pceth2_DrawGraphic ();
276- wait = 100 ;
277- play .gameMode = GM_MAPCLOCK ;
266+ char buf [FNAMELEN_CLOCK + 1 ];
267+ int const time = (pceth2_getDate (MONTH , DAY ) == 6 ) ? 11 : 19 ; // 土曜は 12:10, 平日は 14:50
278268
279- return TRUE;
280- }
281- return FALSE;
269+ pceth2_loadGraphic (BG_MAPCLOCK , GRP_BG );
270+ pcesprintf (buf , "CLOCK%02d.pgx" , time );
271+ pceth2_loadGraphic (buf , GRP_C );
272+ pceth2_clearGraphic (GRP_L );
273+ pceth2_clearGraphic (GRP_R );
274+ pceth2_DrawGraphic ();
275+ wait = 100 ;
276+ play .gameMode = GM_MAPCLOCK ;
282277}
283278
284279#define BG_MAPSELECT "MAP_BG.pgx"
0 commit comments