天界の異端審問官
|
I have a problem. I'm trying my hand at making some Umineko fan fiction, but the coding is proving quite difficult.
I basically want to have EP8 full cast in the character tips screen available from the beginning, and add a completely new meta character later.
Following Kinjo's tutorial, I made the following tweaks to the script:
Spoiler for length:
if %play_scene = 12345 gosub *new_char
------------------------------------------
*new_char
mov ?r[ma5_w][condition],1
mov ?r[ma5_wal][condition],1
mov ?r[ma5_ron][condition],1
mov ?r[ma5_gap][condition],1
mov ?r[ma5_bb][condition],1
mov ?r[ma5_rg][condition],1
mov ?r[ma5_s][condition],1
mov ?r[ma5_k][condition],1
mov ?r[ma5_dla][condition],1
mov ?r[ma5_ger][condition],1
mov ?r[ma5_cor][condition],1
mov ?r[ma5_wr][condition],1
mov ?r[ma5_ber][condition],1
mov ?r[ma5_lam][condition],1
mov ?r[ma5_EN2][condition],1
mov ?r[ma5_zf][condition],1
mov ?r[ma5_ZEP][condition],1
mov ?r[ma5_FUR][condition],1
mov ?r[ma5_fea][condition],1
mov ?r[ma5_ev2][condition],1
mov ?r[ma5_eri][condition],1
mov ?r[ma5_goa][condition],1
mov ?r[new][condition],1
mov $r_cha_back,":c;bmp\r_click\cha_btn\cha_back3.bmp"
return
------------------------------------------
*bt_ep5_def
mov ?r[new][condition_end],1
mov $?r[new][0],":c/2,0,3;bmp\r_click\cha_btn\ep5\non.bmp"
mov $?r[new][1],":c/2,0,3;png\r_click\cha_btn\new_l.bmp"
------------------------------------------
*r_cha_hyouji_ep5
[...]
if %r_hyouji_cha = new : gosub *r_cha_new
------------------------------------------
*r_cha_new
mov ?r[%r_hyouji_cha][tati_x],460
if ?r[%r_hyouji_cha][condition] = 0 return
if ?r[%r_hyouji_cha][condition] = 1 mov $r_cha_tati_path,":a;png\tati\new.png"
if ?r[%r_hyouji_cha_ma][condition] = 0 mov $r_txt_path,":a;bmp\r_click\text\txt_def2.bmp"
notif ?r[%r_hyouji_cha_ma][condition] = 1 jumpf
if %cha_text_page = 1 mov $r_txt_path,":a;png\tips_text\new_1.png"
if %cha_text_page = 2 mov $r_txt_path,":a;png\tips_text\new_2.png"
~
if %play_scene > 12345 mov %varx,0
return
------------------------------------------
but then I got oh-so-lost. If I call
mov %play_scene,123456
ONScripter crashes when I open the tips menu, saying
I... I just can't understand how this code hell works. Can someone put me on the right track, please?
|