private void cboDirection_SelectedIndexChanged(object sender, EventArgs e) { TransitionLoader.Transition t = transitionLoader.transitions[(int)nIndex.Value]; t.direction = (byte)cboDirection.SelectedIndex; transitionLoader.transitions[(int)nIndex.Value] = t; }
private void nUknown2_ValueChanged(object sender, EventArgs e) { TransitionLoader.Transition t = transitionLoader.transitions[(int)nIndex.Value]; t.to = PaletteLoader.GetPaletteAddress(gb, game, (int)nTo.Value); transitionLoader.transitions[(int)nIndex.Value] = t; }
private void nMap_ValueChanged(object sender, EventArgs e) { TransitionLoader.Transition t = transitionLoader.transitions[(int)nIndex.Value]; t.map = (byte)nMap.Value; transitionLoader.transitions[(int)nIndex.Value] = t; }