static InputFormRef N_Init(Form self) { return(new InputFormRef(self , "N_" , Program.ROM.RomInfo.worldmap_event_on_stageselect_pointer() , 4 , (int i, uint addr) => { if (i == 0) { return true; } return U.isPointer(Program.ROM.u32(addr)) ; } , (int i, uint addr) => { string name = ""; if (i > 0) { name = MapSettingForm.GetMapNameFromWorldMapEventID((uint)i); } return U.ToHexString(i) + " " + name; } )); }